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

Comparing ray/src/rt/raytrace.c (file contents):
Revision 2.37 by greg, Tue Mar 11 17:08:55 2003 UTC vs.
Revision 2.38 by greg, Tue Mar 11 19:29:05 2003 UTC

# Line 174 | Line 174 | int  mod;
174                  }
175                  ******/
176                                          /* hack for irradiance calculation */
177 <                if (do_irrad && !(r->crtype & ~(PRIMARY|TRANS))) {
177 >                if (do_irrad && !(r->crtype & ~(PRIMARY|TRANS)) &&
178 >                                (ofun[m->otype].flags & (T_M|T_X))) {
179                          if (irr_ignore(m->otype)) {
180   #if  MAXLOOP
181                                  depth--;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines