[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [747] contrib/py/scripts/addons/ space_view3d_multiselect_menu.py: repair script, change prop.path to prop. data_path
Brendon Murphy
meta.androcto1 at gmail.com
Sun Jun 20 16:12:23 CEST 2010
Revision: 747
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=747
Author: meta-androcto
Date: 2010-06-20 16:12:23 +0200 (Sun, 20 Jun 2010)
Log Message:
-----------
repair script, change prop.path to prop.data_path
Modified Paths:
--------------
contrib/py/scripts/addons/space_view3d_multiselect_menu.py
Modified: contrib/py/scripts/addons/space_view3d_multiselect_menu.py
===================================================================
--- contrib/py/scripts/addons/space_view3d_multiselect_menu.py 2010-06-20 06:40:38 UTC (rev 746)
+++ contrib/py/scripts/addons/space_view3d_multiselect_menu.py 2010-06-20 14:12:23 UTC (rev 747)
@@ -76,33 +76,33 @@
prop = layout.operator("wm.context_set_value", text="Vertex", icon='VERTEXSEL')
prop.value = "(True, False, False)"
- prop.path = "tool_settings.mesh_selection_mode"
+ prop.data_path = "tool_settings.mesh_selection_mode"
prop = layout.operator("wm.context_set_value", text="Edge", icon='EDGESEL')
prop.value = "(False, True, False)"
- prop.path = "tool_settings.mesh_selection_mode"
+ prop.data_path = "tool_settings.mesh_selection_mode"
prop = layout.operator("wm.context_set_value", text="Face", icon='FACESEL')
prop.value = "(False, False, True)"
- prop.path = "tool_settings.mesh_selection_mode"
+ prop.data_path = "tool_settings.mesh_selection_mode"
layout.separator()
prop = layout.operator("wm.context_set_value", text="Vertex & Edge", icon='ORTHO_OFF')
prop.value = "(True, True, False)"
- prop.path = "tool_settings.mesh_selection_mode"
+ prop.data_path = "tool_settings.mesh_selection_mode"
prop = layout.operator("wm.context_set_value", text="Vertex & Face", icon='ORTHO')
prop.value = "(True, False, True)"
- prop.path = "tool_settings.mesh_selection_mode"
+ prop.data_path = "tool_settings.mesh_selection_mode"
prop = layout.operator("wm.context_set_value", text="Edge & Face", icon='SNAP_FACE')
prop.value = "(False, True, True)"
- prop.path = "tool_settings.mesh_selection_mode"
+ prop.data_path = "tool_settings.mesh_selection_mode"
layout.separator()
prop = layout.operator("wm.context_set_value", text="Vertex & Edge & Face", icon='SNAP_VOLUME')
prop.value = "(True, True, True)"
- prop.path = "tool_settings.mesh_selection_mode"
+ prop.data_path = "tool_settings.mesh_selection_mode"
More information about the Bf-extensions-cvs
mailing list