Revision: 77340
          http://sourceforge.net/p/brlcad/code/77340
Author:   brlcad
Date:     2020-10-06 13:14:09 +0000 (Tue, 06 Oct 2020)
Log Message:
-----------
if we're printing values, display a header on stderr

Modified Paths:
--------------
    brlcad/trunk/bench/pixcmp.c

Modified: brlcad/trunk/bench/pixcmp.c
===================================================================
--- brlcad/trunk/bench/pixcmp.c 2020-10-06 13:13:34 UTC (rev 77339)
+++ brlcad/trunk/bench/pixcmp.c 2020-10-06 13:14:09 UTC (rev 77340)
@@ -249,6 +249,15 @@
        exit(FILE_ERROR);
     }
 
+    /* print header to stderr, output to stdout */
+    if (list_pixel_values) {
+       if (print_bytes) {
+           bu_log("#Byte FILE1_byte FILE2_byte\n");
+       } else {
+           bu_log("#Pixel\t(FILE1 R, G, B) (FILE2 R, G, B)\n");
+       }
+    }
+
     /* iterate over the pixels/bytes in the files */
     while ((!feof(f1) || !feof(f2)) &&
           (!ferror(f1) || !ferror(f2))) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to