--- ray/src/rt/rv2.c 1997/03/07 16:58:58 2.36 +++ ray/src/rt/rv2.c 1997/03/18 18:09:15 2.37 @@ -662,7 +662,7 @@ char *s; { char buf[128]; int x, y; - OBJREC *inst; + OBJREC *ino; RAY thisray; thisray.rmax = 0.0; @@ -700,9 +700,9 @@ char *s; objptr(thisray.ro->omod)->oname, ofun[thisray.ro->otype].funame, thisray.ro->oname); - if ((inst = objptr(thisray.robj)) != thisray.ro) - sprintf(buf+strlen(buf), " in instance \"%s\"", - inst->oname); + if ((ino = objptr(thisray.robj)) != thisray.ro) + sprintf(buf+strlen(buf), " in %s \"%s\"", + ofun[ino->otype].funame, ino->oname); (*dev->comout)(buf); (*dev->comin)(buf, NULL); if (thisray.rot >= FHUGE)