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.39 by greg, Fri Apr 4 18:18:06 2025 UTC vs.
Revision 2.40 by greg, Fri Apr 4 22:47:56 2025 UTC

# Line 676 | Line 676 | main(int argc, char *argv[])
676          mres = loadop(mop+nmats);
677          if (mres == NULL)
678                  return(1);
679 <        if (outfmt == DTfromHeader)     /* check data type */
679 >        if ((outfmt == DTfromHeader) & (mres->dtype < DTspec))
680                  outfmt = mres->dtype;
681 <        if (outfmt == DTrgbe) {
681 >        if (outfmt == DTrgbe) {         /* check data type */
682                  if (mres->ncomp > 3)
683                          outfmt = DTspec;
684                  else if (mres->dtype == DTxyze)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines