# | Line 54 | Line 54 | m_alias( /* transfer shading to alias target */ | |
---|---|---|
54 | arec = *aop; | |
55 | /* irradiance hack */ | |
56 | if (do_irrad && !(r->crtype & ~(PRIMARY|TRANS)) && | |
57 | < | m->otype != MAT_CLIP && |
58 | < | (ofun[arec.otype].flags & (T_M|T_X))) { |
59 | < | if (istransp(arec.otype) || isBSDFproxy(m)) { |
57 | > | (ofun[arec.otype].flags & (T_M|T_X)) && |
58 | > | arec.otype != MAT_CLIP) { |
59 | > | if (istransp(arec.otype) || isBSDFproxy(&arec)) { |
60 | raytrans(r); | |
61 | return(1); | |
62 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |