Skip to content
Snippets Groups Projects
Commit dc0ec6d9 authored by Daniel Salazar's avatar Daniel Salazar
Browse files

Adding properties panel launcher to spacebar menu addon

parent e0b38155
No related branches found
Tags
No related merge requests found
......@@ -150,6 +150,10 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
layout.operator("view3d.toolshelf", icon='MENU_PANEL')
layout.separator()
# Properties block
layout.operator("view3d.properties", icon='MENU_PANEL')
layout.separator()
# Toggle Editmode
layout.operator("object.editmode_toggle", text="Enter Edit Mode",
icon='EDITMODE_HLT')
......@@ -202,6 +206,10 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
layout.operator("view3d.toolshelf", icon='MENU_PANEL')
layout.separator()
# Properties block
layout.operator("view3d.properties", icon='MENU_PANEL')
layout.separator()
# Toggle Object Mode
layout.operator("object.editmode_toggle", text="Enter Object Mode",
icon='OBJECT_DATAMODE')
......@@ -250,6 +258,10 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
layout.operator("view3d.toolshelf", icon='MENU_PANEL')
layout.separator()
# Properties block
layout.operator("view3d.properties", icon='MENU_PANEL')
layout.separator()
# Toggle Objectmode
layout.operator("object.editmode_toggle", text="Enter Object Mode",
icon='OBJECT_DATA')
......@@ -293,6 +305,10 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
layout.operator("view3d.toolshelf", icon='MENU_PANEL')
layout.separator()
# Properties block
layout.operator("view3d.properties", icon='MENU_PANEL')
layout.separator()
# Toggle Objectmode
layout.operator("object.editmode_toggle", text="Enter Object Mode",
icon='OBJECT_DATA')
......@@ -331,6 +347,10 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
layout.operator("view3d.toolshelf", icon='MENU_PANEL')
layout.separator()
# Properties block
layout.operator("view3d.properties", icon='MENU_PANEL')
layout.separator()
# Toggle Objectmode
layout.operator("object.editmode_toggle", text="Enter Object Mode",
icon='OBJECT_DATA')
......@@ -372,6 +392,10 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
layout.operator("view3d.toolshelf", icon='MENU_PANEL')
layout.separator()
# Properties block
layout.operator("view3d.properties", icon='MENU_PANEL')
layout.separator()
# Toggle Objectmode
layout.operator("object.editmode_toggle", text="Enter Object Mode",
icon='OBJECT_DATA')
......@@ -407,6 +431,10 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
layout.operator("view3d.toolshelf", icon='MENU_PANEL')
layout.separator()
# Properties block
layout.operator("view3d.properties", icon='MENU_PANEL')
layout.separator()
# Toggle Objectmode
layout.operator("object.editmode_toggle", text="Enter Object Mode",
icon='OBJECT_DATA')
......@@ -441,6 +469,10 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
layout.operator("view3d.toolshelf", icon='MENU_PANEL')
layout.separator()
# Properties block
layout.operator("view3d.properties", icon='MENU_PANEL')
layout.separator()
# Toggle Objectmode
layout.operator("object.editmode_toggle", text="Enter Object Mode",
icon='OBJECT_DATA')
......@@ -472,6 +504,10 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
layout.operator("view3d.toolshelf", icon='MENU_PANEL')
layout.separator()
# Properties block
layout.operator("view3d.properties", icon='MENU_PANEL')
layout.separator()
# Toggle Objectmode
layout.operator("object.editmode_toggle", text="Enter Object Mode",
icon='OBJECT_DATA')
......@@ -497,6 +533,10 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
layout.operator("view3d.toolshelf", icon='MENU_PANEL')
layout.separator()
# Properties block
layout.operator("view3d.properties", icon='MENU_PANEL')
layout.separator()
# Toggle Objectmode
layout.operator("object.editmode_toggle", text="Enter Object Mode",
icon='OBJECT_DATA')
......@@ -530,6 +570,10 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
layout.operator("view3d.toolshelf", icon='MENU_PANEL')
layout.separator()
# Properties block
layout.operator("view3d.properties", icon='MENU_PANEL')
layout.separator()
# Toggle Editmode
layout.operator("object.editmode_toggle", text="Enter Edit Mode",
icon='EDITMODE_HLT')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment