[Bf-blender-cvs] [a3690045434] master: GP: Fix missing Fill properties in Topbar
Antonioya
noreply at git.blender.org
Fri Jan 11 17:22:23 CET 2019
Commit: a369004543445193ca48fd72d893914a9ea5927f
Author: Antonioya
Date: Fri Jan 11 17:22:13 2019 +0100
Branches: master
https://developer.blender.org/rBa369004543445193ca48fd72d893914a9ea5927f
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.
===================================================================
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 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")
More information about the Bf-blender-cvs
mailing list