diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-10 16:27:18 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-10 16:27:18 +0400 |
commit | 1c9a24b8ff4b2f3794db3ae203fc93caa5285429 (patch) | |
tree | 4ce90d7f3c3de3603101c44621240453b8cdfaa2 /source/blender/render | |
parent | b503af3d3781510c2519c4909458e613c5b8eee7 (diff) |
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.
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/source/pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index c21196392dc..4f719821c10 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -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) { |