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.124 by schorsch, Sun Mar 6 01:13:18 2016 UTC vs.
Revision 2.125 by greg, Tue Jun 7 16:53:19 2016 UTC

# Line 752 | Line 752 | mkpmapopts(                            /* get mkpmap options */
752   {
753          /* BEWARE:  This may be called via setdefaults(), so no assumptions */
754  
755 <        *mo = '\0';
755 >        if (nprocs > 1)
756 >                sprintf(mo, " -n %d", nprocs);
757 >        else
758 >                *mo = '\0';
759          if (!vdef(MKPMAP))
760                  return;
761          if (vval(MKPMAP)[0] != '-') {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines