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

Comparing ray/src/rt/rc2.c (file contents):
Revision 2.3 by greg, Mon Jun 11 05:07:55 2012 UTC vs.
Revision 2.4 by greg, Tue Jun 12 17:20:44 2012 UTC

# Line 677 | Line 677 | recover_output()
677                  if (getvec(vdummy) < 0 || getvec(vdummy) < 0)
678                          error(USER, "unexpected EOF on input");
679          }
680 <        lastray = lastdone = lastout * accumulate;
680 >        lastray = lastdone = (RNUMBER)lastout * accumulate;
681          if (raysleft)
682                  raysleft -= lastray;
683   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines