diff options
-rw-r--r-- | space_view3d_copy_attributes.py | 2 | ||||
-rw-r--r-- | space_view3d_spacebar_menu.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py index 63da0c56..0e12933a 100644 --- a/space_view3d_copy_attributes.py +++ b/space_view3d_copy_attributes.py @@ -780,7 +780,7 @@ def unregister(): if kmi.properties.name == 'MESH_MT_CopyFaceSettings': km.keymap_items.remove(kmi) - km = kc.addon.keymaps['Object Mode'] + km = kc.keymaps['Object Mode'] for kmi in km.keymap_items: if kmi.idname == 'wm.call_menu': if kmi.properties.name == 'VIEW3D_MT_copypopup': diff --git a/space_view3d_spacebar_menu.py b/space_view3d_spacebar_menu.py index 359c1804..6dfbb41d 100644 --- a/space_view3d_spacebar_menu.py +++ b/space_view3d_spacebar_menu.py @@ -1405,7 +1405,7 @@ def unregister(): wm = bpy.context.window_manager kc = wm.keyconfigs.addon if kc: - km = kc.addon.keymaps['3D View'] + km = kc.keymaps['3D View'] for kmi in km.keymap_items: if kmi.idname == 'wm.call_menu': if kmi.properties.name == "VIEW3D_MT_Space_Dynamic_Menu": |