# | Line 382 | Line 382 | plugaleak(RAY *r, AMBVAL *ap, FVECT anorm, double ang) | |
---|---|---|
382 | rtst.rmax = normalize(rtst.rdir); /* short ray test */ | |
383 | while (localhit(&rtst, &thescene)) { /* check for occluder */ | |
384 | OBJREC *m = findmaterial(rtst.ro); | |
385 | < | if (m != NULL && !istransp(m->otype) && !isBSDFproxy(m) && |
385 | > | if (m != NULL && !istransp(m) && !isBSDFproxy(m) && |
386 | (rtst.clipset == NULL || | |
387 | !inset(rtst.clipset, rtst.ro->omod))) | |
388 | return(1); /* plug light leak */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |