# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |