[Bf-blender-cvs] [51be5a7b53f] temp-gpencil-drw-engine: GPencil: Add comment about VFX checking

Antonioya noreply at git.blender.org
Sun Jun 30 16:39:15 CEST 2019


Commit: 51be5a7b53fd4ee4bd1c740e4836da2ff5bb1951
Author: Antonioya
Date:   Sun Jun 30 16:37:11 2019 +0200
Branches: temp-gpencil-drw-engine
https://developer.blender.org/rB51be5a7b53fd4ee4bd1c740e4836da2ff5bb1951

GPencil: Add comment about VFX checking

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

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 f7a42054c89..b82b73adc32 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -1025,6 +1025,10 @@ void GPENCIL_draw_scene(void *ved)
 
         cache_ob = &stl->g_data->gp_object_cache[i];
         Object *ob = cache_ob->ob;
+        /* TODO: To check if the object has VFX, verify the value of
+         * cache_ob->has_fx
+         */
+
         bGPdata *gpd = cache_ob->gpd;
         /* Stroke Pass:
          * draw only a subset that usually starts with a fill and ends with stroke



More information about the Bf-blender-cvs mailing list