Orange: previous commit for render-layers didn't update the case for
authorTon Roosendaal <ton@blender.org>
Sat, 28 Jan 2006 08:27:29 +0000 (08:27 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 28 Jan 2006 08:27:29 +0000 (08:27 +0000)
3d window preview-render.

source/blender/render/intern/source/pipeline.c

index b53393b1cd0fe7b84648a62742c831709f1ce964..e990a17e8cfc2d0c17657ee66e7f55078c06fe5d 100644 (file)
@@ -216,6 +216,12 @@ static RenderResult *new_render_result(Render *re, rcti *partrct, int crop)
                
                rl->rectf= RE_callocN(rectx*recty*sizeof(float)*4, "layer float rgba");
                rl->rectz= RE_callocN(rectx*recty*sizeof(float), "layer float Z");
+               
+               /* note, this has to be in sync with scene.c */
+               rl->lay= (1<<20) -1;
+               rl->layflag= 0x7FFF;    /* solid ztra halo strand */
+               rl->passflag= SCE_PASS_COMBINED|SCE_PASS_Z;
+               
        }
        
        return rr;