Fix #28938: Black frames when composite output node even with disabled nodes
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 20 Oct 2011 08:32:26 +0000 (08:32 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 20 Oct 2011 08:32:26 +0000 (08:32 +0000)
source/blender/render/intern/source/pipeline.c

index 19dc053..3db7381 100644 (file)
@@ -2468,7 +2468,7 @@ static void do_render_composite_fields_blur_3d(Render *re)
                        ntreeCompositTagAnimated(ntree);
                }
                
-               if(ntree && re->r.scemode & R_DOCOMP) {
+               if(ntree && re->scene->use_nodes && re->r.scemode & R_DOCOMP) {
                        /* checks if there are render-result nodes that need scene */
                        if((re->r.scemode & R_SINGLE_LAYER)==0)
                                ntree_render_scenes(re);