diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-08 14:56:50 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-08 14:56:50 +0400 |
commit | 51a937039e42b50c232661c53bf9621ce44c6b94 (patch) | |
tree | 5f682f4656da3d6392cc804d309b242f085e1d08 /source/blender/blenkernel/intern/movieclip.c | |
parent | 97a6965da9a671987df50570f8206c39569bac78 (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/intern/movieclip.c')
-rw-r--r-- | source/blender/blenkernel/intern/movieclip.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |