--- ray/src/rt/glass.c 1991/05/08 08:27:46 1.7 +++ ray/src/rt/glass.c 1991/06/13 13:58:20 1.9 @@ -61,7 +61,6 @@ register RAY *r; if (r->rod < 0.0) /* reorient if necessary */ flipsurface(r); - r->rt = r->rot; /* default ray length */ transtest = 0; /* get modifiers */ raytexture(r, m->omod); @@ -88,8 +87,10 @@ register RAY *r; for (i = 0; i < 3; i++) /* perturb direction */ p.rdir[i] = r->rdir[i] - r->pert[i]/RINDEX; normalize(p.rdir); - } else + } else { + VCOPY(p.rdir, r->rdir); transtest = 2; + } rayvalue(&p); multcolor(p.rcol, r->pcol); /* modify */ multcolor(p.rcol, trans);