Render: set minimum render size to 1x1 instead of 2x2. As far as I can tell this
works ok, and it's useful for debugging.
This commit is contained in:
@@ -469,7 +469,7 @@ void RE_InitState(Render *re, Render *source, RenderData *rd, SceneRenderLayer *
|
|||||||
re->recty = winy;
|
re->recty = winy;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (re->rectx < 2 || re->recty < 2 || (BKE_imtype_is_movie(rd->im_format.imtype) &&
|
if (re->rectx < 1 || re->recty < 1 || (BKE_imtype_is_movie(rd->im_format.imtype) &&
|
||||||
(re->rectx < 16 || re->recty < 16) ))
|
(re->rectx < 16 || re->recty < 16) ))
|
||||||
{
|
{
|
||||||
BKE_report(re->reports, RPT_ERROR, "Image too small");
|
BKE_report(re->reports, RPT_ERROR, "Image too small");
|
||||||
|
Reference in New Issue
Block a user