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.21 by greg, Tue Oct 21 16:12:05 2025 UTC vs.
Revision 2.23 by greg, Thu Oct 23 15:52:25 2025 UTC

# 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)