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:
Antonio Vazquez 2019-08-20 20:26:30 +02:00
parent 58341242bf
commit b6b01c48fa
1 changed files with 1 additions and 1 deletions

View File

@ -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):