60 |
|
return -1; |
61 |
|
} |
62 |
|
else { |
63 |
< |
sprintf(errmsg, "no photon lookup bandwidth specified, " |
64 |
< |
"using default %d", defaultGather); |
63 |
> |
sprintf(errmsg, "missing photon lookup bandwidth, " |
64 |
> |
"defaulting to %d", defaultGather); |
65 |
|
error(WARNING, errmsg); |
66 |
|
return 1; |
67 |
|
} |
79 |
|
|
80 |
|
case 'm': /* Fixed max photon search radius */ |
81 |
|
if (check(3, "f") || (maxDistFix = atof(av [1])) <= 0) |
82 |
< |
error(USER, "invalid max photon search radius coefficient"); |
82 |
> |
error(USER, "invalid max photon search radius"); |
83 |
|
|
84 |
|
return 1; |
85 |
|
|