# | Line 196 | Line 196 | register RAY *r; | |
---|---|---|
196 | if (nd.tspec > FTINY && nd.alpha2 <= FTINY) { | |
197 | RAY lr; | |
198 | if (rayorigin(&lr, r, TRANS, nd.tspec) == 0) { | |
199 | < | if (DOT(r->pert,r->pert) > FTINY*FTINY) { |
199 | > | if (!(r->crtype & SHADOW) && |
200 | > | DOT(r->pert,r->pert) > FTINY*FTINY) { |
201 | for (i = 0; i < 3; i++) /* perturb direction */ | |
202 | lr.rdir[i] = r->rdir[i] - | |
203 | .75*r->pert[i]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |