# | Line 219 | Line 219 | raytirrad( /* irradiance hack */ | |
---|---|---|
219 | RAY *r | |
220 | ) | |
221 | { | |
222 | < | if (ofun[m->otype].flags & (T_M|T_X) && m->otype != MAT_CLIP) { |
222 | > | if (m->otype != MAT_CLIP && ismaterial(m->otype)) { |
223 | if (istransp(m->otype) || isBSDFproxy(m)) { | |
224 | raytrans(r); | |
225 | return(1); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |