--- ray/src/util/ranimove1.c 2012/10/05 01:03:22 3.22 +++ ray/src/util/ranimove1.c 2018/01/24 04:39:52 3.23 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: ranimove1.c,v 3.22 2012/10/05 01:03:22 greg Exp $"; +static const char RCSid[] = "$Id: ranimove1.c,v 3.23 2018/01/24 04:39:52 greg Exp $"; #endif /* * ranimove1.c @@ -329,8 +329,7 @@ setmotion( /* compute motion vector for this pixel */ multp3(ovp, wpos, obj_move[moi].bxfm); wpos = ovp; } - viewloc(ovp, &vwprev, wpos); - if (ovp[2] <= FTINY) + if (viewloc(ovp, &vwprev, wpos) <= 0) return; xp = (int)(ovp[0]*hres); yp = (int)(ovp[1]*vres);