--- ray/src/rt/raycalls.c 2005/06/15 15:36:52 2.14 +++ ray/src/rt/raycalls.c 2005/06/21 00:26:44 2.15 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: raycalls.c,v 2.14 2005/06/15 15:36:52 greg Exp $"; +static const char RCSid[] = "$Id: raycalls.c,v 2.15 2005/06/21 00:26:44 greg Exp $"; #endif /* * raycalls.c - interface for running Radiance rendering as a library @@ -165,8 +165,8 @@ ray_init( /* initialize ray-tracing calculation */ if (ofun[OBJ_SPHERE].funp == o_default) initotypes(); /* initialize urand */ - initurand(2048); srandom(rand_samp ? (long)time(0) : 0L); + initurand(2048); /* read scene octree */ readoct(octname = otnm, ~(IO_FILES|IO_INFO), &thescene, NULL); nsceneobjs = nobjects;