--- ray/src/rt/aniso.c 2011/10/26 03:44:56 2.52 +++ ray/src/rt/aniso.c 2012/06/09 07:16:47 2.53 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: aniso.c,v 2.52 2011/10/26 03:44:56 greg Exp $"; +static const char RCSid[] = "$Id: aniso.c,v 2.53 2012/06/09 07:16:47 greg Exp $"; #endif /* * Shading functions for anisotropic materials. @@ -325,8 +325,8 @@ getacoords( /* set up coordinate system */ np->specfl |= SP_BADU; return; } - if (mf->f != &unitxf) - multv3(np->u, np->u, mf->f->xfm); + if (mf->fxp != &unitxf) + multv3(np->u, np->u, mf->fxp->xfm); fcross(np->v, np->pnorm, np->u); if (normalize(np->v) == 0.0) { objerror(np->mp, WARNING, "illegal orientation vector");