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

Comparing ray/src/util/rad.c (file contents):
Revision 2.120 by greg, Sun Aug 2 01:32:15 2015 UTC vs.
Revision 2.121 by greg, Wed Sep 2 18:59:26 2015 UTC

# Line 806 | Line 806 | renderopts(                    /* set rendering options */
806   {
807          char    pmapf[256], *bw;
808  
809 +        if (vdef(PGMAP)) {
810 +                bw = sskip2(vval(PGMAP), 2);
811 +                atos(pmapf, sizeof(pmapf), vval(PGMAP));
812 +                op = addarg(addarg(op, "-ap"), pmapf);
813 +                if (atoi(bw) > 0) op = addarg(op, bw);
814 +        }
815          switch(vscale(QUALITY)) {
816          case LOW:
817                  lowqopts(op, po);
# Line 816 | Line 822 | renderopts(                    /* set rendering options */
822          case HIGH:
823                  hiqopts(op, po);
824                  break;
819        }
820        if (vdef(PGMAP)) {
821                bw = sskip2(vval(PGMAP), 2);
822                atos(pmapf, sizeof(pmapf), vval(PGMAP));
823                op = addarg(addarg(op, "-ap"), pmapf);
824                if (atoi(bw) > 0) op = addarg(op, bw);
825          }
826          if (vdef(PCMAP)) {
827                  bw = sskip2(vval(PCMAP), 2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines