278 |
|
fprintf(stderr, "%s: linear scaling factor = %f\n", |
279 |
|
progname, scalef); |
280 |
|
#endif |
281 |
< |
if (scalef < 0.99 | scalef > 1.01) |
282 |
< |
fputexpos(scalef, stdout); /* write in header */ |
281 |
> |
fputexpos(inpexp*scalef, stdout); /* record exposure */ |
282 |
|
if (lumf == cielum) scalef /= WHTEFFICACY; |
283 |
|
} |
284 |
|
putchar('\n'); /* complete header */ |
396 |
|
/* determine if acuity adj. useful */ |
397 |
|
if (what2do&DO_ACUITY && |
398 |
|
hacuity(l) >= (inpres.xr/sqrt(ourview.hn2) + |
399 |
< |
inpres.yr/sqrt(ourview.vn2))/(2.*180./PI*2.)) |
399 |
> |
inpres.yr/sqrt(ourview.vn2))/(2.*180./PI)) |
400 |
|
what2do &= ~DO_ACUITY; |
401 |
|
/* color sensitivity loss? */ |
402 |
< |
if (l >= 6.0) |
402 |
> |
if (l >= TopMesopic) |
403 |
|
what2do &= ~DO_COLOR; |
404 |
|
} |