From cd702db3382adae6aa30f3d163e77dd8328e71e3 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 31 May 2018 12:52:13 +0200 Subject: Animation: Pass dependency graph to animation system This way we allow animation system to make decisions based on which context dependency graph is coming from, and whether it belongs to an active edit window or not. --- source/blender/blenkernel/BKE_cachefile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/blenkernel/BKE_cachefile.h') diff --git a/source/blender/blenkernel/BKE_cachefile.h b/source/blender/blenkernel/BKE_cachefile.h index e0419d0e749..43768b67f8f 100644 --- a/source/blender/blenkernel/BKE_cachefile.h +++ b/source/blender/blenkernel/BKE_cachefile.h @@ -35,6 +35,7 @@ extern "C" { #endif struct CacheFile; +struct Depsgraph; struct Main; struct Scene; @@ -57,7 +58,7 @@ void BKE_cachefile_reload(const struct Main *bmain, struct CacheFile *cache_file void BKE_cachefile_ensure_handle(const struct Main *bmain, struct CacheFile *cache_file); -void BKE_cachefile_update_frame(struct Main *bmain, struct Scene *scene, const float ctime, const float fps); +void BKE_cachefile_update_frame(struct Main *bmain, struct Depsgraph *depsgraph, struct Scene *scene, const float ctime, const float fps); bool BKE_cachefile_filepath_get( const struct Main *bmain, const struct CacheFile *cache_file, float frame, -- cgit v1.2.3