[Bf-blender-cvs] [1651a5e52c3] temp-checkbox-layout-tweaks: Revert mistake in Sculpt Symmetry panel
William Reynish
noreply at git.blender.org
Sat Apr 11 10:59:24 CEST 2020
Commit: 1651a5e52c336877e5a650752c0b827aa378618e
Author: William Reynish
Date: Sat Apr 11 10:58:29 2020 +0200
Branches: temp-checkbox-layout-tweaks
https://developer.blender.org/rB1651a5e52c336877e5a650752c0b827aa378618e
Revert mistake in Sculpt Symmetry panel
===================================================================
M release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 81838ca12cf..993b0038529 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -957,13 +957,18 @@ class VIEW3D_PT_sculpt_symmetry(Panel, View3DPaintPanel):
sculpt = context.tool_settings.sculpt
- col = layout.column(align=False, heading = "Mirror")
- col.use_property_decorate = False
+ split = layout.split()
+
+ col = split.column()
+ col.alignment = 'RIGHT'
+ col.label(text="Mirror")
+
+ col = split.column()
+
row = col.row(align=True)
- sub = row.row(align=True)
- sub.prop(sculpt, "use_symmetry_x", text="X", toggle=True)
- sub.prop(sculpt, "use_symmetry_y", text="Y", toggle=True)
- sub.prop(sculpt, "use_symmetry_z", text="Z", toggle=True)
+ 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)
split = layout.split()
More information about the Bf-blender-cvs
mailing list