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

Comparing ray/src/rt/source.c (file contents):
Revision 2.53 by greg, Fri Oct 28 16:16:33 2005 UTC vs.
Revision 2.54 by greg, Wed Jul 12 05:47:05 2006 UTC

# Line 55 | Line 55 | findmaterial(register OBJREC *o)
55                          ao = objptr(aobj);
56                          if (ismaterial(ao->otype))
57                                  return(ao);
58 +                        if (ao->otype == MOD_ALIAS) {
59 +                                o = ao;
60 +                                continue;
61 +                        }
62                  }
63                  if (o->omod == OVOID)
64                          return(NULL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines