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

Comparing ray/src/cv/bsdf2rad.c (file contents):
Revision 2.7 by greg, Thu Feb 20 09:21:32 2014 UTC vs.
Revision 2.8 by greg, Mon Mar 24 05:36:40 2014 UTC

# Line 138 | Line 138 | main(int argc, char *argv[])
138                          }
139                  }
140                  fflush(stdout);
141 <                sprintf(buf, "gensurf tmat bsdf - - - %d %d", GRIDRES-1, GRIDRES-1);
141 >                sprintf(buf, "gensurf tmat bsdf%d - - - %d %d", n+1,
142 >                                                GRIDRES-1, GRIDRES-1);
143                  fp = popen(buf, "w");
144                  if (fp == NULL) {
145                          fprintf(stderr, "%s: cannot open '| %s'\n", progname, buf);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines