--- ray/src/rt/srcobstr.c 2004/10/25 17:07:35 2.11 +++ ray/src/rt/srcobstr.c 2005/04/19 01:15:07 2.12 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: srcobstr.c,v 2.11 2004/10/25 17:07:35 greg Exp $"; +static const char RCSid[] = "$Id: srcobstr.c,v 2.12 2005/04/19 01:15:07 greg Exp $"; #endif /* * Source occlusion caching routines @@ -27,7 +27,7 @@ castshadow(int sn, FVECT rorg, FVECT rdir) VCOPY(rt.rorg, rorg); VCOPY(rt.rdir, rdir); rt.rmax = 0; - rayorigin(&rt, NULL, PRIMARY, 1.0); + rayorigin(&rt, PRIMARY, NULL, NULL); /* check for intersection */ while (localhit(&rt, &thescene)) { RAY rt1 = rt; /* pretend we were aimed at source */