Fix T60704: Transparency threshold only half visible
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user