[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29444] trunk/blender/release/scripts/ presets/interaction/maya.py: Update interaction preset for property renaming

Matt Ebb matt at mke3.net
Mon Jun 14 10:47:58 CEST 2010


Revision: 29444
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29444
Author:   broken
Date:     2010-06-14 10:47:58 +0200 (Mon, 14 Jun 2010)

Log Message:
-----------
Update interaction preset for property renaming

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

Modified: trunk/blender/release/scripts/presets/interaction/maya.py
===================================================================
--- trunk/blender/release/scripts/presets/interaction/maya.py	2010-06-14 07:43:45 UTC (rev 29443)
+++ trunk/blender/release/scripts/presets/interaction/maya.py	2010-06-14 08:47:58 UTC (rev 29444)
@@ -126,11 +126,11 @@
 kmi = km.items.add('view3d.layers', 'ZERO', 'PRESS', any=True)
 kmi.properties.nr = 10
 kmi = km.items.add('wm.context_toggle_enum', 'Z', 'PRESS')
-kmi.properties.path = 'space_data.viewport_shading'
+kmi.properties.data_path = 'space_data.viewport_shading'
 kmi.properties.value_1 = 'SOLID'
 kmi.properties.value_2 = 'WIREFRAME'
 kmi = km.items.add('wm.context_toggle_enum', 'Z', 'PRESS', alt=True)
-kmi.properties.path = 'space_data.viewport_shading'
+kmi.properties.data_path = 'space_data.viewport_shading'
 kmi.properties.value_1 = 'TEXTURED'
 kmi.properties.value_2 = 'SOLID'
 kmi = km.items.add('view3d.select', 'SELECTMOUSE', 'PRESS')
@@ -167,23 +167,23 @@
 kmi = km.items.add('wm.call_menu', 'S', 'PRESS', shift=True)
 kmi.properties.name = 'VIEW3D_MT_snap'
 kmi = km.items.add('wm.context_set_enum', 'COMMA', 'PRESS')
-kmi.properties.path = 'space_data.pivot_point'
+kmi.properties.data_path = 'space_data.pivot_point'
 kmi.properties.value = 'BOUNDING_BOX_CENTER'
 kmi = km.items.add('wm.context_set_enum', 'COMMA', 'PRESS', ctrl=True)
-kmi.properties.path = 'space_data.pivot_point'
+kmi.properties.data_path = 'space_data.pivot_point'
 kmi.properties.value = 'MEDIAN_POINT'
 kmi = km.items.add('wm.context_toggle', 'COMMA', 'PRESS', alt=True)
-kmi.properties.path = 'space_data.pivot_point_align'
+kmi.properties.data_path = 'space_data.pivot_point_align'
 kmi = km.items.add('wm.context_toggle', 'Q', 'PRESS')
-kmi.properties.path = 'space_data.manipulator'
+kmi.properties.data_path = 'space_data.manipulator'
 kmi = km.items.add('wm.context_set_enum', 'PERIOD', 'PRESS')
-kmi.properties.path = 'space_data.pivot_point'
+kmi.properties.data_path = 'space_data.pivot_point'
 kmi.properties.value = 'CURSOR'
 kmi = km.items.add('wm.context_set_enum', 'PERIOD', 'PRESS', ctrl=True)
-kmi.properties.path = 'space_data.pivot_point'
+kmi.properties.data_path = 'space_data.pivot_point'
 kmi.properties.value = 'INDIVIDUAL_ORIGINS'
 kmi = km.items.add('wm.context_set_enum', 'PERIOD', 'PRESS', alt=True)
-kmi.properties.path = 'space_data.pivot_point'
+kmi.properties.data_path = 'space_data.pivot_point'
 kmi.properties.value = 'ACTIVE_ELEMENT'
 kmi = km.items.add('transform.translate', 'G', 'PRESS', shift=True)
 kmi = km.items.add('transform.translate', 'EVT_TWEAK_S', 'ANY')
@@ -197,7 +197,7 @@
 kmi.properties.use = True
 kmi = km.items.add('transform.mirror', 'M', 'PRESS', ctrl=True)
 kmi = km.items.add('wm.context_toggle', 'TAB', 'PRESS', shift=True)
-kmi.properties.path = 'tool_settings.snap'
+kmi.properties.data_path = 'tool_settings.snap'
 kmi = km.items.add('transform.snap_type', 'TAB', 'PRESS', shift=True, ctrl=True)
 kmi = km.items.add('view3d.enable_manipulator', 'W', 'PRESS')
 kmi.properties.translate = True
@@ -212,9 +212,9 @@
 km = kc.add_keymap('Object Mode', space_type='EMPTY', region_type='WINDOW', modal=False)
 
 kmi = km.items.add('wm.context_cycle_enum', 'O', 'PRESS', shift=True)
-kmi.properties.path = 'tool_settings.proportional_editing_falloff'
+kmi.properties.data_path = 'tool_settings.proportional_editing_falloff'
 kmi = km.items.add('wm.context_toggle_enum', 'O', 'PRESS')
-kmi.properties.path = 'tool_settings.proportional_editing'
+kmi.properties.data_path = 'tool_settings.proportional_editing'
 kmi.properties.value_1 = 'DISABLED'
 kmi.properties.value_2 = 'ENABLED'
 kmi = km.items.add('view3d.game_start', 'P', 'PRESS')
@@ -363,13 +363,13 @@
 kmi = km.items.add('wm.call_menu', 'G', 'PRESS', ctrl=True)
 kmi.properties.name = 'VIEW3D_MT_vertex_group'
 kmi = km.items.add('wm.context_cycle_enum', 'O', 'PRESS', shift=True)
-kmi.properties.path = 'tool_settings.proportional_editing_falloff'
+kmi.properties.data_path = 'tool_settings.proportional_editing_falloff'
 kmi = km.items.add('wm.context_toggle_enum', 'O', 'PRESS')
-kmi.properties.path = 'tool_settings.proportional_editing'
+kmi.properties.data_path = 'tool_settings.proportional_editing'
 kmi.properties.value_1 = 'DISABLED'
 kmi.properties.value_2 = 'ENABLED'
 kmi = km.items.add('wm.context_toggle_enum', 'O', 'PRESS', alt=True)
-kmi.properties.path = 'tool_settings.proportional_editing'
+kmi.properties.data_path = 'tool_settings.proportional_editing'
 kmi.properties.value_1 = 'DISABLED'
 kmi.properties.value_2 = 'CONNECTED'
 kmi = km.items.add('mesh.select_all', 'SELECTMOUSE', 'CLICK')





More information about the Bf-blender-cvs mailing list