From 1c9a24b8ff4b2f3794db3ae203fc93caa5285429 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 10 May 2013 12:27:18 +0000 Subject: 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. --- source/blender/render/intern/source/pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/render') 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) { -- cgit v1.2.3