[Bf-blender-cvs] [10228e6a3b6] greasepencil-object: UI: Move brush settings to bottom

Antonio Vazquez noreply at git.blender.org
Tue Dec 5 10:43:27 CET 2017


Commit: 10228e6a3b665a84844945555c163e0380621c7e
Author: Antonio Vazquez
Date:   Tue Dec 5 10:33:13 2017 +0100
Branches: greasepencil-object
https://developer.blender.org/rB10228e6a3b665a84844945555c163e0380621c7e

UI: Move brush settings to bottom

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

M	release/scripts/startup/bl_ui/properties_grease_pencil_common.py

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

diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 317e6afcd53..e12c2d47821 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -401,16 +401,6 @@ class GreasePencilBrushOptionsPanel:
         layout = self.layout
         brush = context.active_gpencil_brush
         if brush is not None:
-            col = layout.column(align=True)
-            col.label(text="Settings:")
-            col.prop(brush, "random_press", slider=True)
-
-            row = layout.row(align=True)
-            row.prop(brush, "jitter", slider=True)
-            row.prop(brush, "use_jitter_pressure", text="", icon='STYLUS_PRESSURE')
-            row = layout.row()
-            row.prop(brush, "angle", slider=True)
-            row.prop(brush, "angle_factor", text="Factor", slider=True)
 
             row = layout.row(align=True)
             col = row.column(align=True)
@@ -428,6 +418,17 @@ class GreasePencilBrushOptionsPanel:
             row.prop(brush, "pen_subdivision_steps")
             row.prop(brush, "random_subdiv", text="Randomness", slider=True)
 
+            col = layout.column(align=True)
+            col.label(text="Settings:")
+            col.prop(brush, "random_press", slider=True)
+
+            row = layout.row(align=True)
+            row.prop(brush, "jitter", slider=True)
+            row.prop(brush, "use_jitter_pressure", text="", icon='STYLUS_PRESSURE')
+            row = layout.row()
+            row.prop(brush, "angle", slider=True)
+            row.prop(brush, "angle_factor", text="Factor", slider=True)
+
 
 class GreasePencilStrokeSculptPanel:
     # subclass must set



More information about the Bf-blender-cvs mailing list