[Bf-blender-cvs] [a4623bdfed5] blender2.8: UI: Group similar Grease Pencil brush settings

Pablo Vazquez noreply at git.blender.org
Thu Aug 2 00:52:58 CEST 2018


Commit: a4623bdfed5bd6121d0d09a9d7f077e379718b9f
Author: Pablo Vazquez
Date:   Thu Aug 2 00:52:45 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBa4623bdfed5bd6121d0d09a9d7f077e379718b9f

UI: Group similar Grease Pencil brush settings

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

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 ceb0f244bac..dd071f357af 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1522,14 +1522,17 @@ class VIEW3D_PT_tools_grease_pencil_brush_settings(View3DPanel, Panel):
         gp_settings = brush.gpencil_settings
         layout.active = gp_settings.enable_settings
 
-        layout.prop(gp_settings, "pen_smooth_factor")
-        layout.prop(gp_settings, "pen_smooth_steps")
+        col = layout.column(align=True)
+        col.prop(gp_settings, "pen_smooth_factor")
+        col.prop(gp_settings, "pen_thick_smooth_factor")
 
-        layout.prop(gp_settings, "pen_thick_smooth_factor")
-        layout.prop(gp_settings, "pen_thick_smooth_steps")
+        col = layout.column(align=True)
+        col.prop(gp_settings, "pen_smooth_steps")
+        col.prop(gp_settings, "pen_thick_smooth_steps")
 
-        layout.prop(gp_settings, "pen_subdivision_steps")
-        layout.prop(gp_settings, "random_subdiv", text="Randomness", slider=True)
+        col = layout.column(align=True)
+        col.prop(gp_settings, "pen_subdivision_steps")
+        col.prop(gp_settings, "random_subdiv", text="Randomness", slider=True)
 
 
 class VIEW3D_PT_tools_grease_pencil_brush_random(View3DPanel, Panel):



More information about the Bf-blender-cvs mailing list