diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 12:45:31 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 12:45:31 +0300 |
commit | 6ec8344243e6935281120a504b5a3355d2b3620a (patch) | |
tree | 7f9aa3f71fae0064a757cf2e5021beebbce3ae2e /source/blender/blenkernel/intern | |
parent | eb090d06092701683d073fa041e64077b61b810c (diff) |
Depsgraph: Add missing movie clip dopesheet invalidation
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/movieclip.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/movieclip.c b/source/blender/blenkernel/intern/movieclip.c index 16d597e25fa..db05939b1cc 100644 --- a/source/blender/blenkernel/intern/movieclip.c +++ b/source/blender/blenkernel/intern/movieclip.c @@ -77,6 +77,8 @@ # include "intern/openexr/openexr_multi.h" #endif +#define DEBUG_PRINT if (G.debug & G_DEBUG_DEPSGRAPH) printf + /*********************** movieclip buffer loaders *************************/ static int sequence_guess_offset(const char *full_name, int head_len, unsigned short numlen) @@ -1589,3 +1591,9 @@ bool BKE_movieclip_put_frame_if_possible(MovieClip *clip, return result; } + +void BKE_movieclip_eval_update(struct EvaluationContext *UNUSED(eval_ctx), MovieClip *clip) +{ + DEBUG_PRINT("%s on %s (%p)\n", __func__, clip->id.name, clip); + BKE_tracking_dopesheet_tag_update(&clip->tracking); +} |