UI: Move Adjust Strength for Spacing next to the stroke Spacing control
authorWilliam Reynish <billrey@me.com>
Fri, 22 Mar 2019 10:27:56 +0000 (11:27 +0100)
committerWilliam Reynish <billrey@me.com>
Fri, 22 Mar 2019 10:27:56 +0000 (11:27 +0100)
These items are related.

release/scripts/startup/bl_ui/space_view3d_toolbar.py

index d3a866f..212427d 100644 (file)
@@ -535,9 +535,6 @@ class VIEW3D_PT_tools_brush_options(Panel, View3DPaintPanel):
                 col.prop(brush, "sculpt_plane")
                 col.prop(brush, "use_original_normal")
 
-            if capabilities.has_space_attenuation:
-                col.prop(brush, "use_space_attenuation")
-
             col.prop(brush, "use_frontface", text="Front Faces Only")
             col.prop(brush, "use_projected")
 
@@ -867,6 +864,10 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel):
             col.operator("paintcurve.draw")
 
         if context.sculpt_object:
+
+            if brush.sculpt_capabilities.has_space_attenuation:
+                col.prop(brush, "use_space_attenuation")
+
             if brush.sculpt_capabilities.has_jitter:
 
                 row = col.row(align=True)