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.30 by greg, Fri Mar 4 00:21:21 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"
18   #include  "otypes.h"
19   #include  "resolu.h"
20  
21 #ifdef getc_unlocked            /* avoid horrendous overhead of flockfile */
22 #undef getc
23 #define getc    getc_unlocked
24 #endif
25
21   static double  ogetflt(void);
22   static long  ogetint(int);
23   static char  *ogetstr(char *);
# Line 225 | Line 220 | nonsurfintree(OCTREE ot)               /* check tree for modifiers
220                  return(0);
221          }
222          objset(set, ot);
223 <        for (i = set[0]; i-- > 0; )
223 >        for (i = set[0]; i > 0; i-- )
224                  if (ismodifier(objptr(set[i])->otype))
225                          return(1);
226          return(0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines