[Bf-blender-cvs] [81d2a5f3104] greasepencil-object: GPencil: UI Swap Leak Size and new Dilate param

Antonio Vazquez noreply at git.blender.org
Tue May 4 16:18:40 CEST 2021


Commit: 81d2a5f31046773e2da9f04541c924d245a94c81
Author: Antonio Vazquez
Date:   Tue May 4 16:18:34 2021 +0200
Branches: greasepencil-object
https://developer.blender.org/rB81d2a5f31046773e2da9f04541c924d245a94c81

GPencil: UI Swap Leak Size and new Dilate param

The leak size is less used than new dilate and is better put this in the top bar.

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

M	release/scripts/startup/bl_ui/properties_paint_common.py
M	release/scripts/startup/bl_ui/space_view3d_toolbar.py

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

diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index 22ef0fe77dd..4e3e4c2d58d 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -1225,7 +1225,7 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False)
         row = layout.row(align=True)
         row.prop(gp_settings, "fill_factor")
         row = layout.row(align=True)
-        row.prop(gp_settings, "fill_leak", text="Leak Size")
+        row.prop(gp_settings, "dilate_pixels")
         row = layout.row(align=True)
         row.prop(brush, "size", text="Thickness")
         layout.use_property_split = use_property_split_prev
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 7da70fb90cb..08d581bfa24 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1468,7 +1468,7 @@ class VIEW3D_PT_tools_grease_pencil_brush_advanced(View3DPanel, Panel):
                 row.prop(gp_settings, "show_fill_extend", text="", icon='GRID')
 
                 col.separator()
-                col.prop(gp_settings, "dilate_pixels")
+                col.prop(gp_settings, "fill_leak", text="Leak Size")
 
                 col.separator()
                 col.prop(gp_settings, "fill_simplify_level", text="Simplify")



More information about the Bf-blender-cvs mailing list