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

Comparing ray/src/util/rad.c (file contents):
Revision 2.12 by greg, Fri Jun 25 17:35:49 1993 UTC vs.
Revision 2.13 by greg, Fri Jul 2 14:50:49 1993 UTC

# Line 1026 | Line 1026 | char   *opts;
1026          char    pfopts[128];
1027          char    vs[32], *vw;
1028          int     vn, mult;
1029 +        long    lastdate;
1030                                          /* get pfilt options */
1031          pfiltopts(pfopts);
1032                                          /* get resolution, reporting */
# Line 1056 | Line 1057 | char   *opts;
1057                  else
1058                          badvalue(REPORT);
1059          }
1060 +                                        /* get update time */
1061 +        lastdate = octreedate > matdate ? octreedate : matdate;
1062                                          /* do each view */
1063          vn = 0;
1064          while ((vw = getview(vn++, vs)) != NULL) {
# Line 1063 | Line 1066 | char   *opts;
1066                          sprintf(vs, "%d", vn);
1067                  sprintf(picfile, "%s_%s.pic", vval(PICTURE), vs);
1068                                                  /* check date on picture */
1069 <                if (fdate(picfile) >= octreedate)
1069 >                if (fdate(picfile) >= lastdate)
1070                          continue;
1071                                                  /* build rpict command */
1072                  sprintf(rawfile, "%s_%s.raw", vval(PICTURE), vs);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines