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

Comparing ray/src/rt/initotypes.c (file contents):
Revision 2.20 by greg, Tue Jan 9 05:01:15 2018 UTC vs.
Revision 2.21 by greg, Mon Jun 25 20:49:10 2018 UTC

# Line 63 | Line 63 | initotypes(void)                       /* initialize ofun array */
63          ofun[MAT_DIRECT2].funp = m_direct;
64          ofun[MAT_CLIP].funp = m_clip;
65          ofun[MAT_BRTDF].funp = m_brdf;
66 <        ofun[MAT_BSDF].funp = m_bsdf;
66 >        ofun[MAT_BSDF].funp =
67 >        ofun[MAT_SBSDF].funp = m_bsdf;
68 >        ofun[MAT_SBSDF].flags |= T_TRANSP;
69          ofun[MAT_PFUNC].funp =
70          ofun[MAT_MFUNC].funp =
71          ofun[MAT_PDATA].funp =

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines