diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-28 02:12:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-28 02:12:59 +0400 |
commit | 24627daabba5b52a68d431a68dd500ea632b4f51 (patch) | |
tree | 6cfd4d53feb8ce232c79bcfa0fa3aa93c71d53e0 /release/scripts/presets/interaction | |
parent | b76176fafffdd9b9f3e43bda994c588cd91a071d (diff) |
patch [#23522] UI fixing for recent Python API changes
from Filiciss Muhgue (filiciss)
Diffstat (limited to 'release/scripts/presets/interaction')
-rw-r--r-- | release/scripts/presets/interaction/blender.py | 2 | ||||
-rw-r--r-- | release/scripts/presets/interaction/maya.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/presets/interaction/blender.py b/release/scripts/presets/interaction/blender.py index 229aa657b2f..af905a89b68 100644 --- a/release/scripts/presets/interaction/blender.py +++ b/release/scripts/presets/interaction/blender.py @@ -2,7 +2,7 @@ import bpy wm = bpy.context.manager -wm.active_keyconfig = wm.keyconfigs['Blender'] +wm.keyconfigs.active = wm.keyconfigs['Blender'] bpy.context.user_preferences.view.use_mouse_auto_depth = False bpy.context.user_preferences.view.use_zoom_to_mouse = False diff --git a/release/scripts/presets/interaction/maya.py b/release/scripts/presets/interaction/maya.py index 4fcf987c9b2..7f5b6e8c79c 100644 --- a/release/scripts/presets/interaction/maya.py +++ b/release/scripts/presets/interaction/maya.py @@ -7,7 +7,7 @@ kc = wm.add_keyconfig('Maya') # Map 3D View km = kc.add_keymap('3D View', space_type='VIEW_3D', region_type='WINDOW', modal=False) -kmi = km.items.add('view3d.show_manipulator', 'LEFTMOUSE', 'PRESS', any=True) +kmi = km.items.add('view3d.manipulator', 'LEFTMOUSE', 'PRESS', any=True) kmi.properties.release_confirm = True kmi = km.items.add('view3d.cursor3d', 'ACTIONMOUSE', 'PRESS') kmi = km.items.add('view3d.rotate', 'LEFTMOUSE', 'PRESS', alt=True) |