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

Comparing ray/src/common/objset.c (file contents):
Revision 2.2 by greg, Thu Mar 12 11:41:18 1992 UTC vs.
Revision 2.3 by greg, Mon Jul 13 14:23:21 1992 UTC

# Line 199 | Line 199 | int  orig, nobjs;
199                  if ((os = ostable[n]) == NULL)
200                          continue;
201                  while ((i = *os++) > 0)
202 <                        while (i--) {
203 <                                s = *os;
204 <                                if (s >= orig && s < orig+nobjs &&
202 >                        do
203 >                                if ((s = *os++) >= orig && s < orig+nobjs &&
204                                                  ismodifier(objptr(s)->otype))
205                                          return(1);
206 <                                os++;
208 <                        }
206 >                        while (--i);
207          }
208          return(0);
209   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines