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

Comparing ray/src/util/rtcontrib.c (file contents):
Revision 1.40 by greg, Sun Feb 5 22:22:21 2006 UTC vs.
Revision 1.43 by schorsch, Wed Jun 7 17:52:04 2006 UTC

# Line 101 | Line 101 | struct rtproc {
101                                          /* rtrace command and defaults */
102   char            *rtargv[256+2*MAXMODLIST] = { "rtrace",
103                                  "-dj", ".5", "-dr", "3",
104 <                                "-ab", "1", "-ad", "128", };
104 >                                "-ab", "1", "-ad", "350", };
105  
106   int  rtargc = 9;
107                                          /* overriding rtrace options */
# Line 567 | Line 567 | addmodifier(char *modn, char *outf, char *binv, int bi
567                  mp = growmodifier(mp, bincnt);
568          lep->data = (char *)mp;
569                                          /* allocate output streams */
570 <        for (i = outf==NULL || outf[0]=='!' ? 0 : bincnt; i--; )
570 >        for (i = outf==NULL || outf[0]=='!' ? 0 : bincnt; i-- > 0; )
571                  getostream(mp->outspec, mp->modname, i, 1);
572          return mp;
573   }
# Line 1132 | Line 1132 | myseeko(const LUENT *e, void *p)
1132                  sprintf(errmsg, "seek error on file '%s'", e->key);
1133                  error(SYSTEM, errmsg);
1134          }
1135 +        return 0;
1136   }
1137  
1138   /* recover output if possible */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines