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

Comparing ray/src/hd/rhdisp2.c (file contents):
Revision 3.12 by gregl, Thu Dec 11 09:36:59 1997 UTC vs.
Revision 3.13 by gregl, Thu Dec 11 17:26:55 1997 UTC

# Line 484 | Line 484 | VIEW   *vn;
484          VOXL    vlnew[8];
485          int     n, comn;
486  
487 <        if (!vn->type) {                /* clear our beam list */
487 >        if (vn == NULL || !vn->type) {  /* clear our beam list */
488                  set_voxels(vlnew, 0);
489                  cbeamop(DR_DELSET, cbeam, ncbeams, NULL, 0, 0);
490                  ncbeams = 0;
491 <                copystruct(&dvw, vn);
491 >                dvw.type = 0;
492                  return(1);
493          }
494                                          /* find our new voxels */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines