Add keymaps, specials menu and auto center view checkbox #3

Merged
dupoxy merged 10 commits from add-keymaps into main 2024-09-21 20:42:48 +02:00
Showing only changes of commit 13b827dc89 - Show all commits

View File

@ -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