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.27 by greg, Tue Apr 23 17:25:23 2013 UTC vs.
Revision 3.28 by greg, Thu Jul 4 01:22:47 2013 UTC

# Line 728 | Line 728 | SDqueryTreProjSA(double *psa, const FVECT v1, const RR
728          } else {
729                  const SDTreCDst *cd = (const SDTreCDst *)SDgetTreCDist(v1, sdc);
730                  if (cd == NULL)
731 <                        return SDEmemory;
731 >                        cd = &SDemptyCD;
732                  myPSA[0] = M_PI * (cd->clim[0][1] - cd->clim[0][0]) *
733                                  (cd->clim[1][1] - cd->clim[1][0]);
734                  myPSA[1] = cd->max_psa;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines