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

Comparing ray/src/util/rmtxop.c (file contents):
Revision 2.20 by greg, Wed Mar 23 00:58:35 2022 UTC vs.
Revision 2.21 by greg, Tue Nov 21 01:30:20 2023 UTC

# Line 418 | Line 418 | main(int argc, char *argv[])
418                                          /* write result to stdout */
419          if (outfmt == DTfromHeader)
420                  outfmt = mres->dtype;
421 +        if ((outfmt == DTrgbe) & (mres->ncomp > 3))
422 +                outfmt = DTspec;
423          if (outfmt != DTascii)
424                  SET_FILE_BINARY(stdout);
425          newheader("RADIANCE", stdout);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines