Sculpting: Move lock options in symmetry panel.
authorAntony Riakiotakis <kalast@gmail.com>
Wed, 12 Feb 2014 15:04:39 +0000 (17:04 +0200)
committerAntony Riakiotakis <kalast@gmail.com>
Wed, 12 Feb 2014 15:04:57 +0000 (17:04 +0200)
Lock is an often used option according to artist feedback, so better
have it on the same tab as brush tools.

release/scripts/startup/bl_ui/space_view3d_toolbar.py

index b2f31699718da9b79834cfc1f1dea6e0a9b4adb5..3ae4330249a9827f8263d400084e9fa9d81dd968 100644 (file)
@@ -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"