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

Comparing ray/src/px/pcomb.c (file contents):
Revision 2.36 by greg, Wed Feb 16 03:26:33 2005 UTC vs.
Revision 2.37 by greg, Tue Mar 1 23:16:42 2005 UTC

# Line 439 | Line 439 | advance(void)                  /* read in data for next scanline */
439                                  eputs(": read error\n");
440                                  quit(1);
441                          }
442 <                        if (fabs(colval(input[i].coef,RED)-1.0) > 1e-3 ||
443 <                                fabs(colval(input[i].coef,GRN)-1.0) > 1e-3 ||
444 <                                fabs(colval(input[i].coef,BLU)-1.0) > 1e-3)
445 <                                for (j = 0; j < xmax; j++)  /* adjust color */
446 <                                        multcolor(st[j], input[i].coef);
442 >                        for (j = 0; j < xmax; j++)      /* adjust color */
443 >                                multcolor(st[j], input[i].coef);
444                  }
445   }
446  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines