--- ray/src/rt/pmapopt.c 2016/05/17 17:39:47 2.8 +++ ray/src/rt/pmapopt.c 2020/06/15 22:18:57 2.10 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: pmapopt.c,v 2.8 2016/05/17 17:39:47 rschregle Exp $"; +static const char RCSid[] = "$Id: pmapopt.c,v 2.10 2020/06/15 22:18:57 rschregle Exp $"; #endif /* @@ -12,7 +12,7 @@ static const char RCSid[] = "$Id: pmapopt.c,v 2.8 2016 supported by the Swiss National Science Foundation (SNSF, #147053) ================================================================== - $Id: pmapopt.c,v 2.8 2016/05/17 17:39:47 rschregle Exp $ + $Id: pmapopt.c,v 2.10 2020/06/15 22:18:57 rschregle Exp $ */ @@ -60,8 +60,8 @@ int getPmapRenderOpt (int ac, char *av []) return -1; } else { - sprintf(errmsg, "no photon lookup bandwidth specified, " - "using default %d", defaultGather); + sprintf(errmsg, "missing photon lookup bandwidth, " + "defaulting to %d", defaultGather); error(WARNING, errmsg); return 1; } @@ -79,7 +79,7 @@ int getPmapRenderOpt (int ac, char *av []) case 'm': /* Fixed max photon search radius */ if (check(3, "f") || (maxDistFix = atof(av [1])) <= 0) - error(USER, "invalid max photon search radius coefficient"); + error(USER, "invalid max photon search radius"); return 1;