[Bf-blender-cvs] [1c862f3] master: Sculpting: Move lock options in symmetry panel.

Antony Riakiotakis noreply at git.blender.org
Wed Feb 12 16:05:06 CET 2014


Commit: 1c862f33a0f15ff3585d1f28edd7cee47e636a51
Author: Antony Riakiotakis
Date:   Wed Feb 12 17:04:39 2014 +0200
https://developer.blender.org/rB1c862f33a0f15ff3585d1f28edd7cee47e636a51

Sculpting: Move lock options in symmetry panel.

Lock is an often used option according to artist feedback, so better
have it on the same tab as brush tools.

===================================================================

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 b2f3169..3ae4330 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1250,13 +1250,6 @@ class VIEW3D_PT_sculpt_options(Panel, View3DPaintPanel):
         col.prop(sculpt, "gravity", slider=True, text="Factor")
         col.prop(sculpt, "gravity_object")
 
-        layout.label(text="Lock:")
-        
-        row = layout.row(align=True)
-        row.prop(sculpt, "lock_x", text="X", toggle=True)
-        row.prop(sculpt, "lock_y", text="Y", toggle=True)
-        row.prop(sculpt, "lock_z", text="Z", toggle=True)
-
         layout.prop(sculpt, "use_threaded", text="Threaded Sculpt")
         layout.prop(sculpt, "show_low_resolution")
         layout.prop(sculpt, "use_deform_only")
@@ -1267,7 +1260,7 @@ class VIEW3D_PT_sculpt_options(Panel, View3DPaintPanel):
 
 class VIEW3D_PT_sculpt_symmetry(Panel, View3DPaintPanel):
     bl_category = "Tools"
-    bl_label = "Symmetry"
+    bl_label = "Symmetry \ Lock"
     bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
@@ -1289,6 +1282,12 @@ class VIEW3D_PT_sculpt_symmetry(Panel, View3DPaintPanel):
         layout.column().prop(sculpt, "radial_symmetry", text="Radial")
         layout.prop(sculpt, "use_symmetry_feather", text="Feather")
 
+        layout.label(text="Lock:")
+        
+        row = layout.row(align=True)
+        row.prop(sculpt, "lock_x", text="X", toggle=True)
+        row.prop(sculpt, "lock_y", text="Y", toggle=True)
+        row.prop(sculpt, "lock_z", text="Z", toggle=True)
 
 class VIEW3D_PT_tools_brush_appearance(Panel, View3DPaintPanel):
     bl_category = "Options"




More information about the Bf-blender-cvs mailing list