--- ray/src/rt/rv2.c 2005/06/14 03:34:14 2.51 +++ ray/src/rt/rv2.c 2005/08/22 07:02:21 2.53 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rv2.c,v 2.51 2005/06/14 03:34:14 greg Exp $"; +static const char RCSid[] = "$Id: rv2.c,v 2.53 2005/08/22 07:02:21 greg Exp $"; #endif /* * rv2.c - command routines used in tracing a view. @@ -289,6 +289,7 @@ getfocus( /* set focus distance */ char *s ) { + char buf[64]; FVECT vc; double dist; @@ -316,6 +317,8 @@ getfocus( /* set focus distance */ return; } ourview.vdist = dist; + sprintf(buf, "Focus distance set to %f\n", dist); + (*dev->comout)(buf); } @@ -731,7 +734,7 @@ char *s; (*dev->comout)("ray hit nothing"); else { OBJREC *mat = NULL; - OBJREC *mod = NULL;; + OBJREC *mod = NULL; char matspec[256]; matspec[0] = '\0'; if (thisray.ro->omod != OVOID) {