Fix #23111: file Output node not working when inside a group.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 13 Aug 2010 10:20:40 +0000 (10:20 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 13 Aug 2010 10:20:40 +0000 (10:20 +0000)
source/blender/blenkernel/intern/node.c

index 36c232165857e5b0d1863592876ac8514b689573..ea30b33655f5445179a5a89b3f280499421b2ef8 100644 (file)
@@ -1855,9 +1855,8 @@ static void node_group_execute(bNodeStack *stack, void *data, bNode *gnode, bNod
                        
                        /* for groups, only execute outputs for edited group */
                        if(node->typeinfo->nclass==NODE_CLASS_OUTPUT) {
-                               if(gnode->flag & NODE_GROUP_EDIT)
-                                       if(node->flag & NODE_DO_OUTPUT)
-                                               node->typeinfo->execfunc(data, node, nsin, nsout);
+                               if(node->type==CMP_NODE_OUTPUT_FILE || (gnode->flag & NODE_GROUP_EDIT))
+                                       node->typeinfo->execfunc(data, node, nsin, nsout);
                        }
                        else
                                node->typeinfo->execfunc(data, node, nsin, nsout);