diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-20 17:50:58 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-20 17:50:58 +0300 |
commit | 4f3d9a09fe9247e3ab1e62e1f998b78ceefaa9ba (patch) | |
tree | f7014d4bd9592a27eab522ebeb72386b66125fbd /source/blender/depsgraph/DEG_depsgraph.h | |
parent | cdd1e86499a31938d6e139ea091c4ec576ec8173 (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.h | 1 |
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; |