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

Comparing ray/src/util/ranimate.c (file contents):
Revision 2.19 by greg, Wed Jul 10 15:14:59 1996 UTC vs.
Revision 2.22 by greg, Thu Mar 20 14:53:17 1997 UTC

# Line 93 | Line 93 | int    silent = 0;             /* silent mode? */
93   int     noaction = 0;           /* take no action? */
94  
95   char    *remsh;                 /* remote shell program/script */
96 < char    rendopt[2048] = "";     /* rendering options */
96 > char    rendopt[2048];          /* rendering options */
97   char    rresopt[32];            /* rendering resolution options */
98   char    fresopt[32];            /* filter resolution options */
99   int     pfiltalways;            /* always use pfilt? */
# Line 150 | Line 150 | char   *argv[];
150          cfname = argv[i];
151                                                  /* load variables */
152          loadvars(cfname);
153 +                                                /* check variables */
154 +        checkvalues();
155                                                  /* did we get DIRECTORY? */
156          checkdir();
157                                                  /* check status */
# Line 230 | Line 232 | getastat()                     /* check/set animation status */
232                  }
233                  /* assume it is dead */
234          }
235 <        if (strcmp(cfname, astat.cfname) && astat.tnext != 0) { /* other's */
235 >        if (strcmp(cfname, astat.cfname) && astat.pid != 0) {   /* other's */
236                  fprintf(stderr, "%s: unfinished job \"%s\"\n",
237                                  progname, astat.cfname);
238                  return(-1);
# Line 901 | Line 903 | int    rvr;
903                  strcat(combuf, viewopt(vp));
904                  if (vbool(RTRACE))
905                          sprintf(combuf+strlen(combuf), " -ff -fr '%s -w0 %s'",
906 <                                        rendopt, vval(OCTREE));
906 >                                        rendopt+1, vval(OCTREE));
907                  if (vdef(PINTERP))
908                          sprintf(combuf+strlen(combuf), " %s", vval(PINTERP));
909                  if (usepfilt)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines