diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-08-20 21:26:30 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-08-20 21:26:48 +0300 |
commit | b6b01c48fa41730119bfac05dd3218b1b2ee05de (patch) | |
tree | bf259bdc33a7da5650a8fd432d0dccde3d0d162a /release/scripts/startup/bl_ui/properties_material_gpencil.py | |
parent | 58341242bf6b30392435130b242d2366ab03c1dd (diff) |
GPencil: Hide self_overlap parameter for Texture strokes
This property is not supported in this mode and must be removed from UI.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_material_gpencil.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_material_gpencil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_material_gpencil.py b/release/scripts/startup/bl_ui/properties_material_gpencil.py index 8b9e01695e5..2deff845994 100644 --- a/release/scripts/startup/bl_ui/properties_material_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_material_gpencil.py @@ -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): |