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

Comparing ray/src/util/dctimestep.c (file contents):
Revision 2.22 by greg, Tue Oct 23 22:24:09 2012 UTC vs.
Revision 2.23 by greg, Fri Nov 2 00:26:55 2012 UTC

# Line 436 | Line 436 | cm_loadBSDF(char *fname, COLOR cLamb)
436          if (ec)
437                  error(USER, transSDError(ec));
438          ccy2rgb(&myBSDF.tLamb.spec, myBSDF.tLamb.cieY/PI, bsdfLamb);
439 <        recip = (myBSDF.tf == NULL);
440 <        tdf = recip ? myBSDF.tb : myBSDF.tf;
439 >        recip = (myBSDF.tb == NULL);
440 >        tdf = recip ? myBSDF.tf : myBSDF.tb;
441          if (tdf == NULL) {              /* no non-Lambertian transmission? */
442                  if (cLamb != NULL)
443                          copycolor(cLamb, bsdfLamb);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines