# | Line 269 | Line 269 | register RAY *r; | |
---|---|---|
269 | objerror(m, WARNING, "compute error"); | |
270 | else if ((tspect = bright(ctmp)) > FTINY && | |
271 | rayorigin(&sr, r, TRANS, tspect) == 0) { | |
272 | < | if (DOT(r->pert,r->pert) > FTINY*FTINY) { |
272 | > | if (!(r->crtype & SHADOW) && |
273 | > | DOT(r->pert,r->pert) > FTINY*FTINY) { |
274 | for (i = 0; i < 3; i++) /* perturb direction */ | |
275 | sr.rdir[i] = r->rdir[i] - | |
276 | .75*r->pert[i]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |