[Bf-blender-cvs] [b6b01c48fa4] master: GPencil: Hide self_overlap parameter for Texture strokes

Antonio Vazquez noreply at git.blender.org
Tue Aug 20 20:26:57 CEST 2019


Commit: b6b01c48fa41730119bfac05dd3218b1b2ee05de
Author: Antonio Vazquez
Date:   Tue Aug 20 20:26:30 2019 +0200
Branches: master
https://developer.blender.org/rBb6b01c48fa41730119bfac05dd3218b1b2ee05de

GPencil: Hide self_overlap parameter for Texture strokes

This property is not supported in this mode and must be removed from UI.

===================================================================

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



More information about the Bf-blender-cvs mailing list