diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-28 14:24:18 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-28 14:24:18 +0300 |
commit | 2cce65de9695943c5189b74d1c3a480d2b72889f (patch) | |
tree | 6e51078c0a16d291157ff8d2c1767c5d3c3b3b0a /source/blender/blenkernel/BKE_movieclip.h | |
parent | 233f78c017464cebffc63f3d6690725084ae3719 (diff) |
Fix T66872: Changing clip color space does not update background images
Such reload can no longer happen directly and is to be done via dependency
graph.
Eventually, the movie cache will become shared across all copies of the
clip, but even then we still need to have dependency graph mechanism because
we need to update FFmpeg animation handle (which can not be shared across
the copies).
Diffstat (limited to 'source/blender/blenkernel/BKE_movieclip.h')
-rw-r--r-- | source/blender/blenkernel/BKE_movieclip.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_movieclip.h b/source/blender/blenkernel/BKE_movieclip.h index 9425f396bc5..14d7784f93e 100644 --- a/source/blender/blenkernel/BKE_movieclip.h +++ b/source/blender/blenkernel/BKE_movieclip.h @@ -118,7 +118,9 @@ bool BKE_movieclip_put_frame_if_possible(struct MovieClip *clip, /* Dependency graph evaluation. */ -void BKE_movieclip_eval_update(struct Depsgraph *depsgraph, struct MovieClip *clip); +void BKE_movieclip_eval_update(struct Depsgraph *depsgraph, + struct Main *bmain, + struct MovieClip *clip); void BKE_movieclip_eval_selection_update(struct Depsgraph *depsgraph, struct MovieClip *clip); /* caching flags */ |