A number of improvements for the file output node(s).
[blender.git] / source / blender / blenloader / intern / writefile.c
index d5ed3096c7956180a9111f6c9c728fc8e4d015f5..b063a1656ab7dea16d77f22f1325d495d6e4c26e 100644 (file)
@@ -727,7 +727,7 @@ static void write_nodetree(WriteData *wd, bNodeTree *ntree)
                                writestruct(wd, DATA, node->typeinfo->storagename, 1, node->storage);
                }
                
-               if (node->type==CMP_NODE_OUTPUT_MULTI_FILE) {
+               if (node->type==CMP_NODE_OUTPUT_FILE) {
                        /* inputs have own storage data */
                        for (sock=node->inputs.first; sock; sock=sock->next)
                                writestruct(wd, DATA, "NodeImageMultiFileSocket", 1, sock->storage);