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

Comparing ray/src/px/pvalue.c (file contents):
Revision 2.44 by greg, Wed Sep 11 23:21:01 2024 UTC vs.
Revision 2.45 by greg, Mon Sep 16 23:02:53 2024 UTC

# Line 361 | Line 361 | unkopt:
361                  printargs(i, argv, stdout);
362                  if ((expval < .99) | (expval > 1.01))
363                          fputexpos(expval, stdout);
364 <                if (NCSAMP == 1) {
364 >                if (!header & (putprim != ALL)) {
365 >                        NCSAMP = 1;             /* no header, so trust user */
366 >                } else if (NCSAMP == 1) {
367                          if (putprim == ALL)
368                                  putprim = BRIGHT;
369                  } else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines