Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2011-10-31 04:03:18 +0400
committerThomas Dinges <blender@dingto.org>2011-10-31 04:03:18 +0400
commitd3f63bf54cb214fc7cb67b8741dc21fc67b5937a (patch)
tree7ec12a6b630a5b1641a73aa1d4eb36c31ef9ac6a /release/scripts/startup
parent9c115ccc40951328898763d0c5184dc83dc69a8b (diff)
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.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py18
1 files changed, 7 insertions, 11 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index a78992d4a07..13f34fa6647 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -985,18 +985,14 @@ class VIEW3D_PT_sculpt_symmetry(PaintPanel, Panel):
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")