GPencil: Hide self_overlap parameter for Texture strokes
This property is not supported in this mode and must be removed from UI.
This commit is contained in:
parent
58341242bf
commit
b6b01c48fa
|
@ -161,7 +161,7 @@ class MATERIAL_PT_gpencil_strokecolor(GPMaterialButtonsPanel, Panel):
|
|||
if gpcolor.mode in {'DOTS', 'BOX'}:
|
||||
col.prop(gpcolor, "alignment_mode")
|
||||
|
||||
if gpcolor.mode == 'LINE':
|
||||
if gpcolor.mode == 'LINE' and gpcolor.stroke_style != 'TEXTURE':
|
||||
col.prop(gpcolor, "use_overlap_strokes")
|
||||
|
||||
class MATERIAL_PT_gpencil_fillcolor(GPMaterialButtonsPanel, Panel):
|
||||
|
|
Loading…
Reference in New Issue