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

Comparing ray/src/cv/pkgBSDF.c (file contents):
Revision 2.8 by greg, Sat Dec 1 19:45:43 2018 UTC vs.
Revision 2.9 by greg, Sun Dec 8 18:33:23 2024 UTC

# Line 63 | Line 63 | geomBSDF(const SDData *bsp)
63          close(fd);
64                                          /* set up command */
65          if (do_instance) {
66 <                sprintf(command, "mgf2rad %s | oconv -f - > %s.oct",
66 >                sprintf(command, "mgf2rad -s %s | oconv -f - > %s.oct",
67                                          tmpfile, bsp->name);
68          } else {
69                  fflush(stdout);
70 <                sprintf(command, "mgf2rad %s", tmpfile);
70 >                sprintf(command, "mgf2rad -s %s", tmpfile);
71          }
72          if (system(command)) {
73                  fprintf(stderr, "Error running: %s\n", command);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines