From bf0ef10179f364e041a2fccb6a57957433bf1bab Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 19 Sep 2005 07:53:08 +0000 Subject: [PATCH] Bugfix #2971 Alpha error in unified render, causing mist and non-ztransp alpha and 'env' materials not to render correct. --- source/blender/render/intern/source/vanillaRenderPipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/render/intern/source/vanillaRenderPipe.c b/source/blender/render/intern/source/vanillaRenderPipe.c index 053b5886bff..17753f9c6dc 100644 --- a/source/blender/render/intern/source/vanillaRenderPipe.c +++ b/source/blender/render/intern/source/vanillaRenderPipe.c @@ -916,7 +916,7 @@ static void integratePerSubStack(float *sampcol, struct RE_faceField* stack, subStackPtr = subStackSize - 1; while (subStackPtr >= 0) { /* we can make a general meachanism here for operations */ - if (stack[subStack[subStackPtr]].faceType == RE_POLY){ + if (stack[subStack[subStackPtr]].faceType & RE_POLY){ VlakRen* vlr = (VlakRen*) stack[subStack[subStackPtr]].data; if (vlr->mat) { /* ENV faces */