Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-02-27 10:41:13 +0300
committerAntonioya <blendergit@gmail.com>2019-02-27 10:41:13 +0300
commit6155faf5bda861c929dbebaf022199580c64d2fe (patch)
treeca0ee93469026917519731955c318dd65abf344a /source/blender/draw/engines/gpencil/gpencil_engine.h
parent7618851f74d183dcf9d5f984ff128f82daaf27ff (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.h1
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 */