--- ray/src/rt/pmapdata.c 2015/09/01 16:27:52 2.12 +++ ray/src/rt/pmapdata.c 2015/09/09 16:08:46 2.13 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: pmapdata.c,v 2.12 2015/09/01 16:27:52 greg Exp $"; +static const char RCSid[] = "$Id: pmapdata.c,v 2.13 2015/09/09 16:08:46 rschregle Exp $"; #endif /* ================================================================== @@ -364,11 +364,13 @@ void findPhotons (PhotonMap* pmap, const RAY* ray) nearestNeighbours(pmap, pos, norm, 1); } +#ifdef PMAP_ITSYBITSY if (pmap -> maxDist < FTINY) { sprintf(errmsg, "itsy bitsy teeny weeny photon search radius %e", sqrt(pmap -> maxDist)); error(WARNING, errmsg); } +#endif if (pmap -> squeueEnd < pmap -> squeueSize * pmap -> gatherTolerance) { /* Short lookup; too few photons found */