diff options
author | Antonioya <blendergit@gmail.com> | 2019-02-27 10:41:13 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-02-27 10:41:13 +0300 |
commit | 6155faf5bda861c929dbebaf022199580c64d2fe (patch) | |
tree | ca0ee93469026917519731955c318dd65abf344a /source/blender/draw/engines/gpencil/gpencil_engine.h | |
parent | 7618851f74d183dcf9d5f984ff128f82daaf27ff (diff) |
GP: Check if Instance loop is needed
This reduces the loop time if the scene is not using instances.
Diffstat (limited to 'source/blender/draw/engines/gpencil/gpencil_engine.h')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_engine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.h b/source/blender/draw/engines/gpencil/gpencil_engine.h index 7032c816c5f..2922f51e8cb 100644 --- a/source/blender/draw/engines/gpencil/gpencil_engine.h +++ b/source/blender/draw/engines/gpencil/gpencil_engine.h @@ -246,6 +246,7 @@ typedef struct g_data { struct tGPencilObjectCache *gp_object_cache; int session_flag; + bool do_instances; } g_data; /* Transient data */ |