[Bf-blender-cvs] [5abe5050ed8] greasepencil-object: GP: Fix Fill Topbar
Antonioya
noreply at git.blender.org
Thu Jan 17 20:34:51 CET 2019
Commit: 5abe5050ed868d5bd983fd707b14bbec2dd9488a
Author: Antonioya
Date: Thu Jan 17 20:34:39 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB5abe5050ed868d5bd983fd707b14bbec2dd9488a
GP: Fix Fill Topbar
The column layout is not supported as expected.
Anyway, there is a bug in topbar when the size of the parameters is too big.
===================================================================
M release/scripts/startup/bl_ui/properties_paint_common.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index b51fd7c6a5e..cc608197882 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -412,18 +412,15 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False)
row = layout.row(align=True)
row.prop(gp_settings, "eraser_thickness_factor")
elif brush.gpencil_tool == 'FILL':
- row = layout.column(align=True)
+ row = layout.row(align=True)
row.prop(gp_settings, "fill_leak", text="Leak Size")
- row.separator()
- row = layout.column(align=True)
+ row = layout.row(align=True)
row.prop(gp_settings, "fill_factor", text="Resolution")
- row.separator()
- row = layout.column(align=True)
+ row = layout.row(align=True)
row.prop(gp_settings, "fill_dilate", text="Dilate")
- row.separator()
- row = layout.column(align=True)
+ row = layout.row(align=True)
row.prop(brush, "size", text="Thickness")
- row = layout.column(align=True)
+ row = layout.row(align=True)
row.prop(gp_settings, "fill_simplify_level", text="Simplify")
row = layout.row(align=True)
@@ -434,7 +431,7 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False)
row = layout.row(align=True)
row.prop(gp_settings, "show_fill", text="Ignore Transparent Strokes")
row.separator()
- row = layout.column(align=True)
+ row = layout.row(align=True)
row.prop(gp_settings, "fill_threshold", text="Threshold")
else: # brush.gpencil_tool == 'DRAW':
row = layout.row(align=True)
More information about the Bf-blender-cvs
mailing list