[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31620] trunk/blender/release/scripts: patch [#23522] UI fixing for recent Python API changes

Campbell Barton ideasman42 at gmail.com
Sat Aug 28 00:12:59 CEST 2010


Revision: 31620
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31620
Author:   campbellbarton
Date:     2010-08-28 00:12:59 +0200 (Sat, 28 Aug 2010)

Log Message:
-----------
patch [#23522] UI fixing for recent Python API changes
from Filiciss Muhgue (filiciss)

Modified Paths:
--------------
    trunk/blender/release/scripts/presets/interaction/blender.py
    trunk/blender/release/scripts/presets/interaction/maya.py
    trunk/blender/release/scripts/ui/space_sequencer.py

Modified: trunk/blender/release/scripts/presets/interaction/blender.py
===================================================================
--- trunk/blender/release/scripts/presets/interaction/blender.py	2010-08-27 22:09:24 UTC (rev 31619)
+++ trunk/blender/release/scripts/presets/interaction/blender.py	2010-08-27 22:12:59 UTC (rev 31620)
@@ -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

Modified: trunk/blender/release/scripts/presets/interaction/maya.py
===================================================================
--- trunk/blender/release/scripts/presets/interaction/maya.py	2010-08-27 22:09:24 UTC (rev 31619)
+++ trunk/blender/release/scripts/presets/interaction/maya.py	2010-08-27 22:12:59 UTC (rev 31620)
@@ -7,7 +7,7 @@
 # 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)

Modified: trunk/blender/release/scripts/ui/space_sequencer.py
===================================================================
--- trunk/blender/release/scripts/ui/space_sequencer.py	2010-08-27 22:09:24 UTC (rev 31619)
+++ trunk/blender/release/scripts/ui/space_sequencer.py	2010-08-27 22:12:59 UTC (rev 31620)
@@ -743,7 +743,7 @@
         flow.prop(strip, "use_proxy_custom_directory")
         flow.prop(strip, "use_proxy_custom_file")
         if strip.proxy: # TODO - need to add this somehow
-            if strip.proxy_custom_directory and not strip.use_proxy_custom_file:
+            if strip.use_proxy_custom_directory and not strip.use_proxy_custom_file:
                 flow.prop(strip.proxy, "directory")
             if strip.use_proxy_custom_file:
                 flow.prop(strip.proxy, "filepath")





More information about the Bf-blender-cvs mailing list