[Bf-blender-cvs] [f63633cc9dc] greasepencil-object: Fix ALT key for boundary fill strokes

Antonioya noreply at git.blender.org
Sun Nov 25 17:39:23 CET 2018


Commit: f63633cc9dcb00acc6f142f1de577ecaa62f5a4e
Author: Antonioya
Date:   Sun Nov 25 17:39:14 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rBf63633cc9dcb00acc6f142f1de577ecaa62f5a4e

Fix ALT key for boundary fill strokes

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

M	source/blender/draw/engines/gpencil/gpencil_draw_utils.c

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

diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
index 363774adeba..8f3362e541c 100644
--- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
+++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
@@ -809,7 +809,8 @@ static void gpencil_draw_strokes(
 			{
 				/* fill */
 				if ((gp_style->flag & GP_STYLE_FILL_SHOW) &&
-					(!stl->storage->simplify_fill))
+					(!stl->storage->simplify_fill) &&
+					((gps->flag & GP_STROKE_NOFILL) == 0))
 				{
 					gpencil_add_fill_vertexdata(
 						cache, ob, gpl, derived_gpf, gps,



More information about the Bf-blender-cvs mailing list