diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 16:23:06 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 16:49:59 +0300 |
commit | fb896182b1f23c9b0e3e108458ec3aed390c6845 (patch) | |
tree | 41e56e5c0d809bbcfe055ba6c928f9c1eae16740 /source/blender/blenkernel/BKE_scene.h | |
parent | 6b739bc2dcd5f4c6a84c72508608a63cfcc89dca (diff) |
Depsgraph; Introduce new scene update routines which gets an explicit graph
They are still modifying global state, such as ID recalc tags stored in bmain,
need some solution for this.
Diffstat (limited to 'source/blender/blenkernel/BKE_scene.h')
-rw-r--r-- | source/blender/blenkernel/BKE_scene.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_scene.h b/source/blender/blenkernel/BKE_scene.h index 8e2e37bf39a..4c507267050 100644 --- a/source/blender/blenkernel/BKE_scene.h +++ b/source/blender/blenkernel/BKE_scene.h @@ -146,6 +146,18 @@ float BKE_scene_frame_get_from_ctime(const struct Scene *scene, const float fram void BKE_scene_frame_set(struct Scene *scene, double cfra); /* ** Scene evaluation ** */ + +void BKE_scene_graph_update_tagged(struct EvaluationContext *eval_ctx, + struct Depsgraph *depsgraph, + struct Main *bmain, + struct Scene *scene); + +void BKE_scene_graph_update_for_newframe(struct EvaluationContext *eval_ctx, + struct Depsgraph *depsgraph, + struct Main *bmain, + struct Scene *sce); + +/* NOTE: DO NOT USE THOSE IN NEW CODE! */ void BKE_scene_update_tagged(struct EvaluationContext *eval_ctx, struct Main *bmain, struct Scene *sce); void BKE_scene_update_for_newframe(struct EvaluationContext *eval_ctx, struct Main *bmain, struct Scene *sce); |