Fix #35269: compositing setup with only file output node and no composite node

refused to render. It's not possible to actually see the compositing result
in the render result without that but might as well work.
This commit is contained in:
Brecht Van Lommel 2013-05-10 12:27:18 +00:00
parent b503af3d37
commit 1c9a24b8ff

@ -2158,7 +2158,7 @@ static int node_tree_has_composite_output(bNodeTree *ntree)
bNode *node;
for (node = ntree->nodes.first; node; node = node->next) {
if (node->type == CMP_NODE_COMPOSITE) {
if (ELEM(node->type, CMP_NODE_COMPOSITE, CMP_NODE_OUTPUT_FILE)) {
return TRUE;
}
else if (node->type == NODE_GROUP) {