diff options
author | Antonioya <blendergit@gmail.com> | 2019-01-11 19:22:13 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-01-11 19:22:13 +0300 |
commit | a369004543445193ca48fd72d893914a9ea5927f (patch) | |
tree | 4d7b866e95f93319dd022c100c3019a2eabf6893 | |
parent | 6c056f9ae2d7898fe577d71a20daf4984838a577 (diff) |
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.
-rw-r--r-- | release/scripts/startup/bl_ui/properties_paint_common.py | 12 |
1 files 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") |