[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24350] trunk/blender/release/scripts/ui/ properties_data_mesh.py: Moved the buttons around slightly in shape keys, to make it clearer what is action buttons, and what is toggles.

William Reynish william at reynish.com
Thu Nov 5 15:31:20 CET 2009


Revision: 24350
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24350
Author:   billrey
Date:     2009-11-05 15:31:17 +0100 (Thu, 05 Nov 2009)

Log Message:
-----------
Moved the buttons around slightly in shape keys, to make it clearer what is action buttons, and what is toggles.

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/properties_data_mesh.py

Modified: trunk/blender/release/scripts/ui/properties_data_mesh.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_data_mesh.py	2009-11-05 14:25:08 UTC (rev 24349)
+++ trunk/blender/release/scripts/ui/properties_data_mesh.py	2009-11-05 14:31:17 UTC (rev 24350)
@@ -179,21 +179,23 @@
             sub.alignment = 'RIGHT'
 
             subrow = sub.row(align=True)
-            subrow.active = enable_edit_value
+            subrow1 = subrow.row(align=True)
+            subrow1.active = enable_edit_value
             if ob.shape_key_lock:
-                subrow.itemR(ob, "shape_key_lock", icon='ICON_PINNED', text="")
+                subrow1.itemR(ob, "shape_key_lock", icon='ICON_PINNED', text="")
             else:
-                subrow.itemR(ob, "shape_key_lock", icon='ICON_UNPINNED', text="")
+                subrow1.itemR(ob, "shape_key_lock", icon='ICON_UNPINNED', text="")
             if kb.mute:
-                subrow.itemR(kb, "mute", icon='ICON_MUTE_IPO_ON', text="")
+                subrow1.itemR(kb, "mute", icon='ICON_MUTE_IPO_ON', text="")
             else:
-                subrow.itemR(kb, "mute", icon='ICON_MUTE_IPO_OFF', text="")
+                subrow1.itemR(kb, "mute", icon='ICON_MUTE_IPO_OFF', text="")
+            subrow.itemR(ob, "shape_key_edit_mode", text="")
+            
+            subrow = sub.row(align=True)
+            subrow.itemO("object.shape_key_mirror", icon='ICON_ARROW_LEFTRIGHT', text="")
             subrow.itemO("object.shape_key_clear", icon='ICON_X', text="")
+            
 
-            sub.itemO("object.shape_key_mirror", icon='ICON_MOD_MIRROR', text="")
-
-            sub.itemR(ob, "shape_key_edit_mode", text="")
-
             row = layout.row()
             row.itemR(kb, "name")
 





More information about the Bf-blender-cvs mailing list