[Bf-blender-cvs] [7117dfaf671] master: Fix T60704: Transparency threshold only half visible
Antonioya
noreply at git.blender.org
Mon Jan 21 09:00:25 CET 2019
Commit: 7117dfaf6717a642e5d4fcfc8205bf540d207f75
Author: Antonioya
Date: Mon Jan 21 08:59:42 2019 +0100
Branches: master
https://developer.blender.org/rB7117dfaf6717a642e5d4fcfc8205bf540d207f75
Fix T60704: Transparency threshold only half visible
===================================================================
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 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':
More information about the Bf-blender-cvs
mailing list