forked from bartvdbraak/blender
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:
parent
b503af3d37
commit
1c9a24b8ff
@ -2158,7 +2158,7 @@ static int node_tree_has_composite_output(bNodeTree *ntree)
|
|||||||
bNode *node;
|
bNode *node;
|
||||||
|
|
||||||
for (node = ntree->nodes.first; node; node = node->next) {
|
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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
else if (node->type == NODE_GROUP) {
|
else if (node->type == NODE_GROUP) {
|
||||||
|
Loading…
Reference in New Issue
Block a user