diff options
author | Antonioya <blendergit@gmail.com> | 2019-01-21 10:59:42 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-01-21 10:59:42 +0300 |
commit | 7117dfaf6717a642e5d4fcfc8205bf540d207f75 (patch) | |
tree | 9049d257afcc941c8a7f04b574933cc877fab2f5 /release | |
parent | a06b2b25adb2b0a1232ae78ba82e0ecef8cdf976 (diff) |
Fix T60704: Transparency threshold only half visible
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_paint_common.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py index 2a249a475bc..9a7f5d6437e 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -424,10 +424,10 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False) row.prop(gp_settings, "fill_draw_mode", text="Boundary Draw Mode") row.prop(gp_settings, "show_fill_boundary", text="", icon='GRID') - col = layout.column(align=True) - col.enabled = gp_settings.fill_draw_mode != 'STROKE' - col.prop(gp_settings, "show_fill", text="Ignore Transparent Strokes") - sub = col.row(align=True) + row = layout.column(align=True) + row.enabled = gp_settings.fill_draw_mode != 'STROKE' + row.prop(gp_settings, "show_fill", text="Ignore Transparent Strokes") + sub = layout.row(align=True) sub.enabled = not gp_settings.show_fill sub.prop(gp_settings, "fill_threshold", text="Threshold") else: # brush.gpencil_tool == 'DRAW': |