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

Comparing ray/src/common/bsdf_m.c (file contents):
Revision 3.40 by greg, Sat Mar 27 16:40:46 2021 UTC vs.
Revision 3.41 by greg, Sat Mar 27 17:50:18 2021 UTC

# Line 709 | Line 709 | SDloadMtx(SDData *sd, ezxml_t wtl)
709                                          /* separate diffuse components */
710          sd->rf = extract_diffuse(&sd->rLambFront, sd->rf);
711          sd->rb = extract_diffuse(&sd->rLambBack, sd->rb);
712 <        if (sd->tb != NULL)
713 <                sd->tb = extract_diffuse(&sd->tLamb, sd->tb);
714 <        if (sd->tf != NULL)
715 <                sd->tf = extract_diffuse(&sd->tLamb, sd->tf);
712 >        sd->tf = extract_diffuse(&sd->tLambFront, sd->tf);
713 >        sd->tb = extract_diffuse(&sd->tLambBack, sd->tb);
714                                          /* return success */
715          return SDEnone;
716   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines