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

Comparing ray/src/util/cmbsdf.c (file contents):
Revision 2.4 by greg, Thu Aug 27 04:33:31 2015 UTC vs.
Revision 2.5 by greg, Tue Mar 22 03:56:17 2016 UTC

# Line 149 | Line 149 | cm_loadBTDF(char *fname)
149          fpath = getpath(fname, getrlibpath(), R_OK);
150          if (fpath == NULL) {
151                  sprintf(errmsg, "cannot find BSDF file '%s'", fname);
152 <                error(USER, errmsg);
152 >                error(SYSTEM, errmsg);
153          }
154          SDclearBSDF(&myBSDF, fname);    /* load XML and check type */
155          ec = SDloadFile(&myBSDF, fpath);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines