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

Comparing ray/src/cv/bsdf2ttree.c (file contents):
Revision 2.62 by greg, Wed May 21 20:42:48 2025 UTC vs.
Revision 2.63 by greg, Tue Jun 3 21:31:51 2025 UTC

# Line 17 | Line 17 | static const char RCSid[] = "$Id$";
17   #include "rtio.h"
18   #include "calcomp.h"
19   #include "bsdfrep.h"
20                                /* global argv[0] */
21 char                    *progname;
20                                  /* reciprocity averaging option */
21   static const char       *recip = "";
22                                  /* percentage to cull (<0 to turn off) */
# Line 746 | Line 744 | main(int argc, char *argv[])
744          int                     nsirs = 0;
745          char                    buf[1024];
746          int                     i;
747 <
748 <        progname = argv[0];
747 >                                                /* set global progname */
748 >        fixargv0(argv[0]);
749          esupport |= E_VARIABLE|E_FUNCTION|E_RCONST;
750          esupport &= ~(E_INCHAN|E_OUTCHAN);
751          scompile("PI:3.14159265358979323846", NULL, 0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines