diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-02 08:53:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-02 08:53:39 +0400 |
commit | 1e5e2412e23fd5cd3077d40a6b6bf78431516d12 (patch) | |
tree | ad3a8ced6556a5ccfc16049237b2e962774d9903 /space_view3d_spacebar_menu.py | |
parent | 893fa93c2d9385c1573d779a0304058d27ad1da8 (diff) |
update for rna changes
Diffstat (limited to 'space_view3d_spacebar_menu.py')
-rw-r--r-- | space_view3d_spacebar_menu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/space_view3d_spacebar_menu.py b/space_view3d_spacebar_menu.py index f41e51d8..08ca1198 100644 --- a/space_view3d_spacebar_menu.py +++ b/space_view3d_spacebar_menu.py @@ -1454,13 +1454,13 @@ class VIEW3D_MT_undoS(bpy.types.Menu): layout.operator("ed.redo", icon='TRIA_RIGHT') def register(): - km = bpy.context.manager.keyconfigs.active.keymaps['3D View'] + km = bpy.context.window_manager.keyconfigs.active.keymaps['3D View'] kmi = km.items.new('wm.call_menu', 'SPACE', 'PRESS') kmi.properties.name = "VIEW3D_MT_Space_Dynamic_Menu" def unregister(): - km = bpy.context.manager.keyconfigs.active.keymaps['3D View'] + km = bpy.context.window_manager.keyconfigs.active.keymaps['3D View'] for kmi in km.items: if kmi.idname == 'wm.call_menu': if kmi.properties.name == "VIEW3D_MT_Space_Dynamic_Menu": |