| 316 |
|
#endif |
| 317 |
|
while (getvec(orig) == 0 && getvec(direc) == 0) { |
| 318 |
|
d = normalize(direc); |
| 319 |
< |
if (nchild != -1 && (d == 0.0) & (accumulate != 1)) { |
| 319 |
> |
if (nchild != -1 && (d == 0.0) & (accumulate == 0)) { |
| 320 |
|
if (!ignore_warning_given++) |
| 321 |
|
error(WARNING, |
| 322 |
|
"dummy ray(s) ignored during accumulation\n"); |
| 327 |
|
++lastray; |
| 328 |
|
if (d == 0.0) { /* zero ==> flush */ |
| 329 |
|
if ((yres <= 0) | (xres <= 0)) |
| 330 |
< |
waitflush = 1; /* flush right after */ |
| 331 |
< |
account = 1; |
| 330 |
> |
waitflush = 1; /* flush after */ |
| 331 |
> |
if (nchild == -1) |
| 332 |
> |
account = 1; |
| 333 |
|
} else if (imm_irrad) { /* else compute */ |
| 334 |
|
eval_irrad(orig, direc); |
| 335 |
|
} else { |