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

Comparing ray/src/rt/rxcmain.cpp (file contents):
Revision 2.20 by greg, Fri Oct 17 01:15:53 2025 UTC vs.
Revision 2.23 by greg, Thu Oct 23 15:52:25 2025 UTC

# Line 125 | Line 125 | setformat(const char *fmt)
125          if (!fmt[2])
126                  return;
127   fmterr:
128 <        sprintf(errmsg, "Unsupported i/o format: -f%s", fmt);
128 >        sprintf(errmsg, "unsupported i/o format: -f%s", fmt);
129          error(USER, errmsg);
130   }
131  
# Line 467 | Line 467 | getRayBundle(FVECT *orig_dir = NULL)
467                  error(INTERNAL, "unsupported format in getRayBundle()");
468                  return false;
469          }
470        n2go = myRCmanager.accum;       // normalize directions
471        while (n2go-- > 0) {
472                orig_dir -= 2;
473                normalize(orig_dir[1]);
474        }
470          return true;
471   }
472  
# Line 569 | Line 564 | quit(
564          int  code
565   )
566   {
567 <        myRCmanager.FlushQueue();       // leave nothing in queue
567 >        if (!code)
568 >                myRCmanager.ClearModifiers();
569  
570          exit(code);
571   }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)