Correction to recent prefetch commit

When using movie as a clip no need to prefetch in cases
no proxies are sued at this moment.
This commit is contained in:
Sergey Sharybin
2013-03-26 12:45:10 +00:00
parent 6e076c4164
commit 0c07c33fec

View File

@@ -1142,6 +1142,9 @@ static bool prefetch_check_early_out(const bContext *C)
if ((user->render_flag & MCLIP_PROXY_RENDER_UNDISTORT) == 0)
return true;
}
else {
return true;
}
}
clip_len = BKE_movieclip_get_duration(clip);