bugfix [#20534] Blender crashes throghout compositing
authorCampbell Barton <ideasman42@gmail.com>
Sun, 3 Jan 2010 02:53:01 +0000 (02:53 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 3 Jan 2010 02:53:01 +0000 (02:53 +0000)
source/blender/blenloader/intern/readfile.c

index b3cc52add498073827ca327429f9e933bcb7576d..de9841ec1c709774374c09aeae110960c83b5ece 100644 (file)
@@ -4194,7 +4194,7 @@ static void composite_patch(bNodeTree *ntree, Scene *scene)
        bNode *node;
        
        for(node= ntree->nodes.first; node; node= node->next)
-               if(node->id==NULL && ELEM3(node->type, CMP_NODE_R_LAYERS, CMP_NODE_COMPOSITE, CMP_NODE_DEFOCUS))
+               if(node->id==NULL && ELEM4(node->type, CMP_NODE_R_LAYERS, CMP_NODE_COMPOSITE, CMP_NODE_DEFOCUS, CMP_NODE_OUTPUT_FILE))
                        node->id= &scene->id;
 }