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.41 by greg, Fri Apr 18 23:59:03 2025 UTC vs.
Revision 2.42 by greg, Sat Apr 19 03:58:00 2025 UTC

# Line 51 | Line 51 | loadmatrix(ROPMAT *rop)
51                                  return(-1);
52                          rop->mtx = rmx_from_cmatrix(cm);
53                          cm_free(cm);
54 +                        if (!rop->mtx)
55 +                                return(-1);
56                          rop->mtx->dtype = DTascii;
57                          return(1);      /* loaded BSDF XML file */
58                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines