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.69 by schorsch, Mon Jul 14 20:02:30 2003 UTC vs.
Revision 2.70 by schorsch, Mon Jul 21 22:30:19 2003 UTC

# Line 318 | Line 318 | double org[3], *sizp;
318          FILE    *fp;
319          register int    i;
320  
321 <        if (osiz <= FTINY)
321 >        if (osiz <= FTINY) {
322                  if (!nprocs && fdate(oct1name) <
323                                  (scenedate>illumdate?scenedate:illumdate)) {
324                                                          /* run getbbox */
# Line 354 | Line 354 | double org[3], *sizp;
354                          }
355                          pclose(fp);
356                  }
357 +        }
358          org[0] = oorg[0]; org[1] = oorg[1]; org[2] = oorg[2]; *sizp = osiz;
359   }
360  
# Line 558 | Line 559 | checkambfile()                 /* check date on ambient file */
559                  return;
560          if (!(afdate = fdate(vval(AMBFILE))))
561                  return;
562 <        if (oct1date > afdate)
562 >        if (oct1date > afdate) {
563                  if (touchonly)
564                          touch(vval(AMBFILE));
565                  else
566                          rmfile(vval(AMBFILE));
567 +        }
568   }
569  
570  
# Line 1067 | Line 1069 | again:
1069                  goto again;
1070          }
1071   #endif
1072 <        copystruct(&vwr, &stdview);
1072 >        vwr = stdview;
1073          sscanview(&vwr, cp=vopts);              /* set initial options */
1074          while ((cp = strstr(cp, "-vf ")) != NULL &&
1075                          *atos(buf, sizeof(buf), cp += 4)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines