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.122 by greg, Thu Oct 22 18:09:37 2015 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines