| # | Line 384 | Line 384 | void findPhotons (PhotonMap* pmap, const RAY* ray) | |
|---|---|---|
| 384 | error(WARNING, errmsg); | |
| 385 | #endif | |
| 386 | } | |
| 387 | + | #ifdef PMAP_LOOKUP_REDO |
| 388 | else { | |
| 389 | sprintf(errmsg, "max photon lookup radius clamped to %.1e", | |
| 390 | pmap -> maxDist0); | |
| 391 | error(WARNING, errmsg); | |
| 392 | } | |
| 393 | + | #endif |
| 394 | } | |
| 395 | ||
| 396 | /* Reset successful lookup counter */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |