[Bf-blender-cvs] [6995d51c751] master: GP: Don't activate Fill for new materials

Antonioya noreply at git.blender.org
Thu Feb 14 16:52:25 CET 2019


Commit: 6995d51c7512d92d4b3c15d1ee6c3f0702605cfa
Author: Antonioya
Date:   Thu Feb 14 16:42:07 2019 +0100
Branches: master
https://developer.blender.org/rB6995d51c7512d92d4b3c15d1ee6c3f0702605cfa

GP: Don't activate Fill for new materials

As the fill color alpha is set to zero, it's better keep fill option disabled.

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

M	source/blender/blenkernel/intern/material.c

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

diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c
index d29e0ace3b6..bfc18b2ca95 100644
--- a/source/blender/blenkernel/intern/material.c
+++ b/source/blender/blenkernel/intern/material.c
@@ -120,7 +120,6 @@ void BKE_material_init_gpencil_settings(Material *ma)
 		gp_style->texture_pixsize = 100.0f;
 
 		gp_style->flag |= GP_STYLE_STROKE_SHOW;
-		gp_style->flag |= GP_STYLE_FILL_SHOW;
 	}
 }



More information about the Bf-blender-cvs mailing list