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

Comparing ray/src/common/loadbsdf.c (file contents):
Revision 3.9 by greg, Sun Apr 5 01:32:01 2015 UTC vs.
Revision 3.11 by greg, Tue Mar 22 03:56:17 2016 UTC

# Line 50 | Line 50 | loadBSDF(char *fname)
50          pname = getpath(fname, getrlibpath(), R_OK);
51          if (pname == NULL) {
52                  sprintf(errmsg, "cannot find BSDF file \"%s\"", fname);
53 <                error(USER, errmsg);
53 >                error(SYSTEM, errmsg);
54          }
55          ec = SDloadFile(sd, pname);
56          if (ec)
# Line 60 | Line 60 | loadBSDF(char *fname)
60          checkDF(sd->name, sd->rLambBack.cieY, sd->rb, "rear reflection");
61          checkDF(sd->name, sd->tLamb.cieY, sd->tf, "front transmission");
62          checkDF(sd->name, sd->tLamb.cieY, sd->tb, "back transmission");
63 < #if 0
63 > #ifdef DEBUG
64   {
65   float   rgb[3];
66   fprintf(stderr, "Loaded BSDF '%s' (file \"%s\")\n", sd->name, pname);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines