Add keymaps, specials menu and auto center view checkbox #3
@ -10,7 +10,7 @@ class C3DB_PG_properties(bpy.types.PropertyGroup):
|
||||
|
||||
class C3DB_MT_menu_restore(bpy.types.Menu):
|
||||
bl_label = "3D Cursor Specials"
|
||||
bl_idname = "c3db.menu.restore"
|
||||
bl_idname = "C3DB_MT_menu_restore"
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
@ -254,7 +254,7 @@ class C3DB_PT_panel(bpy.types.Panel):
|
||||
col.operator("c3db.save", icon="ADD", text="")
|
||||
col.operator("c3db.remove_from_list", icon="REMOVE", text="")
|
||||
col.separator()
|
||||
col.menu("c3db.menu.restore", icon="DOWNARROW_HLT", text="")
|
||||
col.menu("C3DB_MT_menu_restore", icon="DOWNARROW_HLT", text="")
|
||||
col.separator()
|
||||
if (
|
||||
context.scene.C3DB_3Dcursors_collection
|
||||
|
Loading…
Reference in New Issue
Block a user