diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-23 15:06:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-23 15:06:26 +0400 |
commit | c659e68695bd91edb3840dda33881dec0012ee53 (patch) | |
tree | b029df6d471abdc995e9ec2d7870d2f3a14236c1 /space_view3d_spacebar_menu.py | |
parent | 1cc532990fa39bd33d7b1c8c4a2ff3f72617f51e (diff) |
update for changes in rna
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 45970915..64eab7cc 100644 --- a/space_view3d_spacebar_menu.py +++ b/space_view3d_spacebar_menu.py @@ -1451,13 +1451,13 @@ class VIEW3D_MT_undoS(bpy.types.Menu): layout.operator("ed.redo", icon='TRIA_RIGHT') def register(): - km = bpy.context.manager.active_keyconfig.keymaps['3D View'] + km = bpy.context.manager.keyconfigs.active.keymaps['3D View'] kmi = km.items.add('wm.call_menu', 'SPACE', 'PRESS') kmi.properties.name = "VIEW3D_MT_Space_Dynamic_Menu" def unregister(): - km = bpy.context.manager.active_keyconfig.keymaps['3D View'] + km = bpy.context.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": |