ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/rxpmain.cpp
(Generate patch)

Comparing ray/src/rt/rxpmain.cpp (file contents):
Revision 2.1 by greg, Wed Aug 14 20:05:23 2024 UTC vs.
Revision 2.3 by greg, Mon Sep 16 19:20:09 2024 UTC

# Line 59 | Line 59 | static void printdefaults(void);
59  
60  
61   void
62 < quit(int code)                  /* quit program -- called from ray_done() */
62 > quit(int code)                  /* quit program */
63   {
64          if (ray_pnprocs < 0)
65                  _exit(code);            /* avoid flush in child */
# Line 499 | Line 499 | progReporter(double pct)
499          static time_t   lastReportTime = 0;
500          time_t          tnow = time(NULL);
501  
502 <        if (tnow - lastReportTime < ralrm)
502 >        if (pct < 100.-FTINY && tnow - lastReportTime < ralrm)
503                  return;                 // too soon, my Precious...
504  
505          sprintf(errmsg, "%7.3f%% done after %7.3f hours\n", pct, (tnow-tstart)/3600.);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines