From fe2df7849e8c7eb67a347de65421bb38ba337f85 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Tue, 16 Nov 2010 17:10:39 +0000 Subject: [PATCH] Bugfix #23677 Very old bug: Material/Render: the "filter" option for transparent absorption also works for alpha==0, but in that case another part of render code just didn't add the faces in render list. --- source/blender/render/intern/source/convertblender.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/render/intern/source/convertblender.c b/source/blender/render/intern/source/convertblender.c index 08808561c9d..a908133a7ce 100644 --- a/source/blender/render/intern/source/convertblender.c +++ b/source/blender/render/intern/source/convertblender.c @@ -3308,7 +3308,7 @@ static void init_render_mesh(Render *re, ObjectRen *obr, int timeoffset) /* test for 100% transparant */ ok= 1; - if(ma->alpha==0.0 && ma->spectra==0.0) { + if(ma->alpha==0.0f && ma->spectra==0.0f && ma->filter==0.0f) { ok= 0; /* texture on transparency? */ for(a=0; a