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

Comparing ray/src/common/bsdf_t.c (file contents):
Revision 3.49 by greg, Sat Mar 27 15:53:01 2021 UTC vs.
Revision 3.50 by greg, Sat Mar 27 17:50:18 2021 UTC

# Line 1430 | Line 1430 | SDloadTre(SDData *sd, ezxml_t wtl)
1430                                          /* separate diffuse components */
1431          extract_diffuse(&sd->rLambFront, sd->rf);
1432          extract_diffuse(&sd->rLambBack, sd->rb);
1433 <        if (sd->tb != NULL)
1434 <                extract_diffuse(&sd->tLamb, sd->tb);
1435 <        if (sd->tf != NULL)
1436 <                extract_diffuse(&sd->tLamb, sd->tf);
1433 >        extract_diffuse(&sd->tLambFront, sd->tf);
1434 >        extract_diffuse(&sd->tLambBack, sd->tb);
1435                                          /* return success */
1436          return SDEnone;
1437   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines