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

Comparing ray/src/px/pinterp.c (file contents):
Revision 2.48 by greg, Thu Nov 7 23:20:28 2019 UTC vs.
Revision 2.49 by greg, Fri Feb 28 05:18:49 2020 UTC

# Line 1162 | Line 1162 | calstart(                    /* start fill calculation
1162          int     rval;
1163          char    **wp, *cp;
1164  
1165 <        if (PDesc.running) {
1165 >        if (PDesc.flags & PF_RUNNING) {
1166                  fprintf(stderr, "%s: too many calculations\n", progname);
1167                  exit(1);
1168          }
# Line 1197 | Line 1197 | calstart(                    /* start fill calculation
1197   static void
1198   caldone(void)                               /* done with calculation */
1199   {
1200 <        if (!PDesc.running)
1200 >        if (!(PDesc.flags & PF_RUNNING))
1201                  return;
1202          clearqueue();
1203          close_process(&PDesc);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines