From 51a937039e42b50c232661c53bf9621ce44c6b94 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 8 Apr 2013 10:56:50 +0000 Subject: Camera stabilization fixes and improvements - Nearest interpolation was always used when there's no rotation for stabilization. Was a failure of optimization heuristic. - Made 2d stabilization frame acquiring threaded. This function is only used for display and sequencer which will only benefit of threads here. - Fixed bug introduced in r48749 which lead to re-making stable frame on every redraw. --- source/blender/blenkernel/intern/movieclip.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenkernel/intern/movieclip.c') diff --git a/source/blender/blenkernel/intern/movieclip.c b/source/blender/blenkernel/intern/movieclip.c index c8f3399665c..a83ee548054 100644 --- a/source/blender/blenkernel/intern/movieclip.c +++ b/source/blender/blenkernel/intern/movieclip.c @@ -973,6 +973,7 @@ static ImBuf *put_stabilized_frame_to_cache(MovieClip *clip, MovieClipUser *user copy_v2_v2(cache->stabilized.loc, tloc); + cache->stabilized.reference_ibuf = ibuf; cache->stabilized.scale = tscale; cache->stabilized.angle = tangle; cache->stabilized.framenr = framenr; -- cgit v1.2.3