diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-19 12:09:10 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-19 12:09:10 +0400 |
commit | 0b13390b9f879fc1feac959dd4ce9c864c5bca31 (patch) | |
tree | e6d394a7f2672929e082365b9174f91c65871ee3 /source | |
parent | 83c91bb22d9e0dcd1c4ce8e0d4243f39b9287c8d (diff) |
Reload movie clip to ensure all cache and prefetched Ffmpeg frames are properly
updating after proxy building is finished.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_clip/clip_ops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/clip_ops.c b/source/blender/editors/space_clip/clip_ops.c index 5d0f294b06a..a77e6dccbb8 100644 --- a/source/blender/editors/space_clip/clip_ops.c +++ b/source/blender/editors/space_clip/clip_ops.c @@ -879,6 +879,7 @@ static void proxy_startjob(void *pjv, short *stop, short *do_update, float *prog IMB_anim_index_rebuild(clip->anim, tc_flag, size_flag, quality, stop, do_update, progress); if(!build_undistort_count) { + BKE_movieclip_reload(clip); return; } else { @@ -905,6 +906,8 @@ static void proxy_startjob(void *pjv, short *stop, short *do_update, float *prog if(distortion) BKE_tracking_distortion_destroy(distortion); + + BKE_movieclip_reload(clip); } static int clip_rebuild_proxy_exec(bContext *C, wmOperator *UNUSED(op)) |