Skip doing frame undistortion if it's not needed for proxies.
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 15 Mar 2013 09:32:59 +0000 (09:32 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 15 Mar 2013 09:32:59 +0000 (09:32 +0000)
source/blender/blenkernel/intern/movieclip.c

index 5519edca7ffa46689442155654a842b7a9360f44..ab42d86152d447ea13e3c1ea7e5373f940474445 100644 (file)
@@ -1270,6 +1270,9 @@ void BKE_movieclip_build_proxy_frame(MovieClip *clip, int clip_flag, struct Movi
        ImBuf *ibuf;
        MovieClipUser user;
 
+       if (!build_count)
+               return;
+
        user.framenr = cfra;
        user.render_flag = 0;
        user.render_size = MCLIP_PROXY_RENDER_SIZE_FULL;