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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-10-20 17:50:58 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-10-20 17:50:58 +0300
commit4f3d9a09fe9247e3ab1e62e1f998b78ceefaa9ba (patch)
treef7014d4bd9592a27eab522ebeb72386b66125fbd /source/blender/depsgraph/DEG_depsgraph.h
parentcdd1e86499a31938d6e139ea091c4ec576ec8173 (diff)
Depsgraph: Make depsgraph a part of evaluation context
This way evaluation routines will know which exact depsgraph evaluation is happening for. Mainly needed to get evaluation flags associated with ID nodes.
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r--source/blender/depsgraph/DEG_depsgraph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h
index 894adbee8c9..c7c5849c174 100644
--- a/source/blender/depsgraph/DEG_depsgraph.h
+++ b/source/blender/depsgraph/DEG_depsgraph.h
@@ -84,6 +84,7 @@ typedef struct EvaluationContext {
eEvaluationMode mode;
float ctime;
+ struct Depsgraph *depsgraph;
struct SceneLayer *scene_layer;
struct RenderEngineType *engine;
} EvaluationContext;