Revision: 41398
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41398
Author:   dingto
Date:     2011-10-31 00:03:18 +0000 (Mon, 31 Oct 2011)
Log Message:
-----------
Another Bconf Feature Request. :) 
Some UI and code cleanup for the "Symmetry" panel in sculpt mode. 
* Made X, Y, Z Buttons toggle buttons, as the other X,Y,Z in the "Options" 
panel above in sculpt mode, for consistency. 

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py 
2011-10-30 23:58:21 UTC (rev 41397)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py 
2011-10-31 00:03:18 UTC (rev 41398)
@@ -985,18 +985,14 @@
 
         sculpt = context.tool_settings.sculpt
 
-        split = layout.split()
-
-        col = split.column()
+        col = layout.column(align=True)
         col.label(text="Mirror:")
-        col.prop(sculpt, "use_symmetry_x", text="X")
-        col.prop(sculpt, "use_symmetry_y", text="Y")
-        col.prop(sculpt, "use_symmetry_z", text="Z")
-
-        split.prop(sculpt, "radial_symmetry", text="Radial")
-
-        layout.separator()
-
+        row = col.row()
+        row.prop(sculpt, "use_symmetry_x", text="X", toggle=True)
+        row.prop(sculpt, "use_symmetry_y", text="Y", toggle=True)
+        row.prop(sculpt, "use_symmetry_z", text="Z", toggle=True)
+        
+        layout.column().prop(sculpt, "radial_symmetry", text="Radial")
         layout.prop(sculpt, "use_symmetry_feather", text="Feather")
 
 

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to