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

Comparing ray/src/hd/rholo.c (file contents):
Revision 3.24 by gregl, Fri Dec 12 19:52:31 1997 UTC vs.
Revision 3.25 by gregl, Sat Dec 13 10:30:56 1997 UTC

# Line 233 | Line 233 | initrholo()                    /* get our holodeck running */
233                          goto memerr;
234                  freepacks[--i].nr = 0;
235                  freepacks[i].next = NULL;
236 <                if (!vbool(OBSTRUCTIONS)) {
236 >                if (!vdef(OBSTRUCTIONS) || !vbool(OBSTRUCTIONS)) {
237                          freepacks[i].offset = (float *)bmalloc(
238                                          RPACKSIZ*sizeof(float)*(i+1) );
239                          if (freepacks[i].offset == NULL)
# Line 336 | Line 336 | register HDGRID        *gp;
336                          error(SYSTEM, "out of memory");
337                  sprintf(vval(OCTREE), "%s.oct", froot);
338                  vdef(OCTREE)++;
339        }
340        if (!vdef(OBSTRUCTIONS)) {
341                vval(OBSTRUCTIONS) = "T";
342                vdef(OBSTRUCTIONS)++;
339          }
340          if (!vdef(VDIST)) {
341                  vval(VDIST) = "F";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines