Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/render/intern/source/pipeline.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c
index b53393b1cd0..e990a17e8cf 100644
--- a/source/blender/render/intern/source/pipeline.c
+++ b/source/blender/render/intern/source/pipeline.c
@@ -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;