[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44244] trunk/blender/source/blender/ editors/space_clip/clip_ops.c: Reload movie clip to ensure all cache and prefetched Ffmpeg frames are properly

Sergey Sharybin sergey.vfx at gmail.com
Sun Feb 19 09:09:18 CET 2012


Revision: 44244
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44244
Author:   nazgul
Date:     2012-02-19 08:09:10 +0000 (Sun, 19 Feb 2012)
Log Message:
-----------
Reload movie clip to ensure all cache and prefetched Ffmpeg frames are properly
updating after proxy building is finished.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_clip/clip_ops.c

Modified: trunk/blender/source/blender/editors/space_clip/clip_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_clip/clip_ops.c	2012-02-19 08:04:31 UTC (rev 44243)
+++ trunk/blender/source/blender/editors/space_clip/clip_ops.c	2012-02-19 08:09:10 UTC (rev 44244)
@@ -879,6 +879,7 @@
 			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 @@
 
 	if(distortion)
 		BKE_tracking_distortion_destroy(distortion);
+
+	BKE_movieclip_reload(clip);
 }
 
 static int clip_rebuild_proxy_exec(bContext *C, wmOperator *UNUSED(op))




More information about the Bf-blender-cvs mailing list