--- ray/src/rt/m_mirror.c 1995/09/15 15:47:29 2.6 +++ ray/src/rt/m_mirror.c 1998/08/10 18:37:05 2.7 @@ -1,7 +1,7 @@ -/* Copyright (c) 1995 Regents of the University of California */ +/* Copyright (c) 1998 Silicon Graphics, Inc. */ #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static char SCCSid[] = "$SunId$ SGI"; #endif /* @@ -48,7 +48,7 @@ register RAY *r; raytrans(r); return(1); } - return(rayshade(r, modifier(m->oargs.sarg[0]))); + return(rayshade(r, lastmod(objndx(m), m->oargs.sarg[0]))); } /* check for bad source ray */ if (r->rsrc >= 0 && source[r->rsrc].so != r->ro)