From 8aa2f3b6ce89065151e37a9922296582c8ea7c8e Mon Sep 17 00:00:00 2001 From: Antonioya Date: Fri, 9 Aug 2019 11:04:14 +0200 Subject: GPencil: Add "Self Overlap" parameter to materials to disable Stencil This parameter was removed in 2.80 and we decided to back again, but now is inverted. --- release/scripts/startup/bl_ui/properties_material_gpencil.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'release/scripts/startup/bl_ui/properties_material_gpencil.py') diff --git a/release/scripts/startup/bl_ui/properties_material_gpencil.py b/release/scripts/startup/bl_ui/properties_material_gpencil.py index 8db0f8182ab..a9e68ecc502 100644 --- a/release/scripts/startup/bl_ui/properties_material_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_material_gpencil.py @@ -162,6 +162,8 @@ class MATERIAL_PT_gpencil_strokecolor(GPMaterialButtonsPanel, Panel): if gpcolor.mode in {'DOTS', 'BOX'}: col.prop(gpcolor, "alignment_mode") + if gpcolor.mode == 'LINE': + col.prop(gpcolor, "use_overlap_strokes") class MATERIAL_PT_gpencil_fillcolor(GPMaterialButtonsPanel, Panel): bl_label = "Fill" -- cgit v1.2.3