When compositing without render (Enable composite, no renderlayer nodes)
the option Full Sample AA caused havoc. Added warning for this case
and gracefully stop render.
This commit is contained in:
2010-12-17 15:24:03 +00:00
parent 04590d86e7
commit f53e8b78b4

View File

@@ -2726,11 +2726,17 @@ int RE_is_rendering_allowed(Scene *scene, void *erh, void (*error)(void *handle,
if(node->type==CMP_NODE_COMPOSITE)
break;
if(node==NULL) {
error(erh, "No Render Output Node in Scene");
return 0;
}
if(scene->r.scemode & R_FULL_SAMPLE) {
if(composite_needs_render(scene)==0) {
error(erh, "Full Sample AA not supported without 3d rendering");
return 0;
}
}
}
}