--- ray/src/rt/m_alias.c 2006/07/12 05:47:05 2.6 +++ ray/src/rt/m_alias.c 2018/01/09 05:01:15 2.8 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: m_alias.c,v 2.6 2006/07/12 05:47:05 greg Exp $"; +static const char RCSid[] = "$Id: m_alias.c,v 2.8 2018/01/09 05:01:15 greg Exp $"; #endif /* * Handler for modifier alias @@ -23,7 +23,7 @@ static const char RCSid[] = "$Id: m_alias.c,v 2.6 2006 * chain at all. */ -extern int +int m_alias( /* transfer shading to alias target */ OBJREC *m, RAY *r @@ -56,7 +56,7 @@ m_alias( /* transfer shading to alias target */ if (do_irrad && !(r->crtype & ~(PRIMARY|TRANS)) && m->otype != MAT_CLIP && (ofun[arec.otype].flags & (T_M|T_X))) { - if (irr_ignore(arec.otype)) { + if (istransp(arec.otype) || isBSDFproxy(m)) { raytrans(r); return(1); }