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

Comparing ray/src/rt/m_alias.c (file contents):
Revision 2.6 by greg, Wed Jul 12 05:47:05 2006 UTC vs.
Revision 2.8 by greg, Tue Jan 9 05:01:15 2018 UTC

# Line 23 | Line 23 | static const char RCSid[] = "$Id$";
23   *  chain at all.
24   */
25  
26 < extern int
26 > int
27   m_alias(                        /* transfer shading to alias target */
28          OBJREC  *m,
29          RAY     *r
# Line 56 | Line 56 | m_alias(                       /* transfer shading to alias target */
56          if (do_irrad && !(r->crtype & ~(PRIMARY|TRANS)) &&
57                          m->otype != MAT_CLIP &&
58                          (ofun[arec.otype].flags & (T_M|T_X))) {
59 <                if (irr_ignore(arec.otype)) {
59 >                if (istransp(arec.otype) || isBSDFproxy(m)) {
60                          raytrans(r);
61                          return(1);
62                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines