Merged changes in the trunk up to revision 46045.
[blender-staging.git] / source / blender / render / intern / source / render_result.c
index 0231a51214b0805ef5ca9a03a24841d146f0d82f..0740597fce59404c9459a6e128173545a2b0669c 100644 (file)
@@ -460,6 +460,7 @@ RenderResult *render_result_new(Render *re, rcti *partrct, int crop, int savebuf
                BLI_strncpy(rl->name, srl->name, sizeof(rl->name));
                rl->lay= srl->lay;
                rl->lay_zmask= srl->lay_zmask;
+               rl->lay_exclude= srl->lay_exclude;
                rl->layflag= srl->layflag;
                rl->passflag= srl->passflag; // for debugging: srl->passflag|SCE_PASS_RAYHITS;
                rl->pass_xor= srl->pass_xor;