Camera tracking integration

===========================

Fixed type in checking if on-fly undistortion is needed.
This commit is contained in:
Sergey Sharybin
2011-09-26 15:49:03 +00:00
parent f51c4a2829
commit bb46df03ac

View 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;
}