--- ray/src/util/rad.c 1993/06/25 17:35:49 2.12 +++ ray/src/util/rad.c 1993/07/16 12:41:21 2.15 @@ -804,7 +804,7 @@ char *ro; fd = open(vval(OPTFILE), O_WRONLY|O_CREAT|O_TRUNC, 0666); if (fd < 0 || write(fd, ro, n) != n || close(fd) < 0) syserr(vval(OPTFILE)); - sprintf(ro, " \"^%s\"", vval(OPTFILE)); + sprintf(ro, " @%s", vval(OPTFILE)); } #ifdef MSDOS else if (n > 50) { @@ -828,7 +828,7 @@ register char *po; po = addarg(po, "-r 1"); break; case HIGH: - po = addarg(po, "-m .15"); + po = addarg(po, "-m .25"); break; } if (vdef(PFILT)) @@ -1026,6 +1026,7 @@ char *opts; char pfopts[128]; char vs[32], *vw; int vn, mult; + long lastdate; /* get pfilt options */ pfiltopts(pfopts); /* get resolution, reporting */ @@ -1056,6 +1057,8 @@ char *opts; else badvalue(REPORT); } + /* get update time */ + lastdate = octreedate > matdate ? octreedate : matdate; /* do each view */ vn = 0; while ((vw = getview(vn++, vs)) != NULL) { @@ -1063,7 +1066,7 @@ char *opts; sprintf(vs, "%d", vn); sprintf(picfile, "%s_%s.pic", vval(PICTURE), vs); /* check date on picture */ - if (fdate(picfile) >= octreedate) + if (fdate(picfile) >= lastdate) continue; /* build rpict command */ sprintf(rawfile, "%s_%s.raw", vval(PICTURE), vs);