Camera tracking integration
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 26 Sep 2011 15:49:03 +0000 (15:49 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 26 Sep 2011 15:49:03 +0000 (15:49 +0000)
===========================

Fixed type in checking if on-fly undistortion is needed.

source/blender/blenkernel/intern/movieclip.c

index a784ea4f12cbda403d4c923c58c0482fcc6123d4..fe6ae2c063a2d57abd0a4fb13a371d60f63b7a70 100644 (file)
@@ -489,9 +489,11 @@ static int need_undistorted_cache(MovieClipUser *user, int flag)
                return 0;
 
        /* only full undistorted render can be used as on-fly undistorting image */
-       if(flag&MCLIP_USE_PROXY)
+       if(flag&MCLIP_USE_PROXY) {
                if(user->render_size != MCLIP_PROXY_RENDER_SIZE_FULL || (user->render_flag&MCLIP_PROXY_RENDER_UNDISTORT)==0)
                        return 0;
+       }
+       else return 0;
 
        return 1;
 }