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

Comparing ray/src/rt/rc3.c (file contents):
Revision 2.12 by greg, Tue Jun 19 00:12:08 2012 UTC vs.
Revision 2.13 by greg, Tue Jun 19 01:27:13 2012 UTC

# Line 539 | Line 539 | feeder_loop()
539                  lastray += kida[i].nr = ninq;
540                  ninq = 0;
541          }
542 <        for (i = nchild; i--; ) {               /* get results */
543 <                close(kida[i].pr.w);
542 >        memset(orgdir, 0, sizeof(FVECT)*2);     /* get results */
543 >        for (i = nchild; i--; ) {
544 >                writebuf(kida[i].pr.w, (char *)orgdir, sizeof(FVECT)*2);
545                  queue_results(i);
546          }
547          if (recover)                            /* and from before? */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines