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

Comparing ray/src/common/readoct.c (file contents):
Revision 2.27 by greg, Wed Dec 15 22:02:04 2004 UTC vs.
Revision 2.29 by greg, Tue Feb 2 18:02:32 2016 UTC

# Line 11 | Line 11 | static const char      RCSid[] = "$Id$";
11   #include  <time.h>
12  
13   #include  "platform.h"
14 < #include  "rtprocess.h"
14 > #include  "paths.h"
15   #include  "standard.h"
16   #include  "octree.h"
17   #include  "object.h"
# Line 225 | Line 225 | nonsurfintree(OCTREE ot)               /* check tree for modifiers
225                  return(0);
226          }
227          objset(set, ot);
228 <        for (i = set[0]; i-- > 0; )
228 >        for (i = set[0]; i > 0; i-- )
229                  if (ismodifier(objptr(set[i])->otype))
230                          return(1);
231          return(0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines