| # | Line 217 | Line 217 | raytirrad( /* irradiance hack */ | |
|---|---|---|
| 217 | raytrans(r); | |
| 218 | return(1); | |
| 219 | } | |
| 220 | < | if (!islight(m->otype)) |
| 220 | > | if (!islight(m->otype)) { |
| 221 | > | setcolor(r->pcol, 1.0, 1.0, 1.0); |
| 222 | return((*ofun[Lamb.otype].funp)(&Lamb, r)); | |
| 223 | + | } |
| 224 | } | |
| 225 | return(0); /* not a qualifying surface */ | |
| 226 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |