diff options
author | Adam Wiseman <wiseman303@hotmail.com> | 2010-09-18 22:41:36 +0400 |
---|---|---|
committer | Adam Wiseman <wiseman303@hotmail.com> | 2010-09-18 22:41:36 +0400 |
commit | a3bfb72abb425eb8a4c1691cf042dc927cca2636 (patch) | |
tree | a2d59be7430805126f722a437e187c3f039db49d | |
parent | fab10e3196494e349f280b211063fa19737aa875 (diff) |
The FromLayer menus weren't getting registered.
-rw-r--r-- | space_view3d_copy_attributes.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py index 34d083ea..099e1935 100644 --- a/space_view3d_copy_attributes.py +++ b/space_view3d_copy_attributes.py @@ -738,6 +738,8 @@ def register(): except KeyError: kmi = km.items.new('wm.call_menu', 'C', 'PRESS', ctrl=True) kmi.properties.name = 'VIEW3D_MT_posecopypopup' + for menu in _layer_menus: + bpy.types.register(menu) bpy.types.DATA_PT_texface.append(_add_tface_buttons) km = bpy.context.window_manager.keyconfigs.active.keymaps['Mesh'] kmi = km.items.new('wm.call_menu', 'C', 'PRESS') @@ -753,6 +755,8 @@ def unregister(): item.properties.name == 'VIEW3D_MT_posecopypopup': item.idname = 'pose.copy' break + for menu in _layer_menus: + bpy.types.unregister(menu) bpy.types.DATA_PT_texface.remove(_add_tface_buttons) km = bpy.context.window_manager.keyconfigs.active.keymaps['Mesh'] for kmi in km.items: |