# | Line 348 | Line 348 | main(int argc, char *argv[]) | |
---|---|---|
348 | rval = setspectrsamp(CNDX, WLPART); | |
349 | if (rval < 0) | |
350 | error(USER, "unsupported spectral sampling"); | |
351 | < | if (out_prims != NULL) { |
351 | > | if (sens_curve != NULL) |
352 | > | out_prims = NULL; |
353 | > | else if (out_prims != NULL) { |
354 | if (!rval) | |
355 | error(WARNING, "spectral range incompatible with color output"); | |
356 | } else if (NCSAMP == 3) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |