ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/ra_tiff.c
(Generate patch)

Comparing ray/src/px/ra_tiff.c (file contents):
Revision 2.37 by greg, Fri Oct 4 18:49:06 2024 UTC vs.
Revision 2.38 by greg, Fri Oct 4 19:15:19 2024 UTC

# Line 556 | Line 556 | initfromrad(void)                      /* initialize input from a Radianc
556                  SET(C_GAMMA|C_GAMUT);
557                  CLR(C_GRY);
558                  setcolrgam(cvts.gamcor);
559 <                if (CHK(C_XYZE|C_SPEC)) {
559 >                if (CHK(C_TWRD|C_TFLT) ? CHK(C_XYZE|C_SPEC) : CHK(C_XYZE)) {
560                          compxyz2rgbWBmat(cvts.cmat,
561                                          CHK(C_PRIM) ? cvts.prims : stdprims);
562                          SET(C_CXFM);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines