[Bf-blender-cvs] [dc4564aae0d] greasepencil-refactor: GPencil: Add ToDo comment

Antonio Vazquez noreply at git.blender.org
Sun Jan 5 12:28:44 CET 2020


Commit: dc4564aae0dc6305d4e0d031da2bdd73114adb9b
Author: Antonio Vazquez
Date:   Sun Jan 5 12:28:34 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rBdc4564aae0dc6305d4e0d031da2bdd73114adb9b

GPencil: Add ToDo comment

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

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

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

diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c
index 6a40eb23efc..ac52f735575 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -1043,6 +1043,7 @@ static void gp_stroke_cache_populate(bGPDlayer *UNUSED(gpl),
 
   bool hide_material = (gp_style->flag & GP_STYLE_COLOR_HIDE) != 0;
   bool show_stroke = (gp_style->flag & GP_STYLE_STROKE_SHOW) != 0;
+  // TODO: What about simplify Fill?
   bool show_fill = (gps->tot_triangles > 0) && (gp_style->flag & GP_STYLE_FILL_SHOW) != 0;
 
   if (hide_material || (!show_stroke && !show_fill)) {



More information about the Bf-blender-cvs mailing list