From a369004543445193ca48fd72d893914a9ea5927f Mon Sep 17 00:00:00 2001 From: Antonioya Date: Fri, 11 Jan 2019 17:22:13 +0100 Subject: GP: Fix missing Fill properties in Topbar After some internal changes in the topbar, some properties were not visible if use col() instead of row() in python script. --- release/scripts/startup/bl_ui/properties_paint_common.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py index 9f12f2258d3..ec12aa6c99f 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -409,11 +409,13 @@ 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': - col = layout.column(align=True) - col.prop(gp_settings, "fill_leak", text="Leak Size") - col.separator() - col.prop(brush, "size", text="Thickness") - col.prop(gp_settings, "fill_simplify_level", text="Simplify") + row = layout.column(align=True) + row.prop(gp_settings, "fill_leak", text="Leak Size") + row.separator() + row = layout.column(align=True) + row.prop(brush, "size", text="Thickness") + row = layout.column(align=True) + row.prop(gp_settings, "fill_simplify_level", text="Simplify") row = layout.row(align=True) row.prop(gp_settings, "fill_draw_mode", text="Boundary Draw Mode") -- cgit v1.2.3