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.5 by greg, Fri Dec 13 22:13:24 2024 UTC vs.
Revision 2.7 by greg, Thu Jan 2 20:19:48 2025 UTC

# Line 60 | Line 60 | static void printdefaults(void);
60   void
61   quit(int code)                  /* quit program */
62   {
63 <        if (!code)
64 <                code = myRPmanager.Cleanup();
65 <
66 <        exit(code);
63 >        exit(code);             // don't bother about freeing anything
64   }
65  
66   /* Set default options */
# Line 524 | Line 521 | progReporter(double pct)
521   void
522   rpict(int seq, char *pout, char *zout, char *prvr)
523   /*
524 < * If seq is greater than zero, then we will render a sequence of
524 > * If seq is greater than zero, we will render a sequence of
525   * images based on view parameter strings read from the standard input.
526   * If pout is NULL, then all images will be sent to the standard ouput.
527   * If seq is greater than zero and prvr is an integer, then it is the
# Line 570 | Line 567 | rpict(int seq, char *pout, char *zout, char *prvr)
567                  if (!dtype)
568                          error(USER, "ResumeFrame() failed");
569                  if (!seq)
570 <                        return;         // all done if we're running a sequence
570 >                        return;         // all done if not a sequence
571          }
572          do {
573                  if (prvr)               // have view from sequence recovery?
# Line 622 | Line 619 | rpict(int seq, char *pout, char *zout, char *prvr)
619                                                          zout ? dbuf : zout)
620                                          && !seq | (errno != EEXIST))
621                          error(USER, "RenderFrame() failed");
622 <        } while (seq++);                // all done if we're running a sequence
622 >        } while (seq++);                // all done if not a sequence
623   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines