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

Comparing ray/src/rt/m_mirror.c (file contents):
Revision 2.3 by greg, Wed Jan 12 16:46:41 1994 UTC vs.
Revision 2.4 by greg, Wed Jul 26 16:53:25 1995 UTC

# Line 43 | Line 43 | register RAY  *r;
43                                          /* check for substitute material */
44          if (m->oargs.nsargs > 0 &&
45                          (r->rsrc < 0 || source[r->rsrc].so != r->ro)) {
46 <                rayshade(r, modifier(m->oargs.sarg[0]));
47 <                return(1);
46 >                if (!strcmp(m->oargs.sarg[0], VOIDID)) {
47 >                        raytrans(r);
48 >                        return(1);
49 >                }
50 >                return(rayshade(r, modifier(m->oargs.sarg[0])));
51          }
52                                          /* check for bad source ray */
53          if (r->rsrc >= 0 && source[r->rsrc].so != r->ro)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines