Revision: 65274
          http://sourceforge.net/p/brlcad/code/65274
Author:   n_reed
Date:     2015-06-11 21:47:57 +0000 (Thu, 11 Jun 2015)
Log Message:
-----------
program supports writing output file by redirection, so all non-geometry output 
must be to stderr

Modified Paths:
--------------
    brlcad/trunk/src/conv/g-obj.c

Modified: brlcad/trunk/src/conv/g-obj.c
===================================================================
--- brlcad/trunk/src/conv/g-obj.c       2015-06-11 19:59:52 UTC (rev 65273)
+++ brlcad/trunk/src/conv/g-obj.c       2015-06-11 21:47:57 UTC (rev 65274)
@@ -226,10 +226,10 @@
 
     if (regions_tried>0) {
        percent = ((double)regions_converted * 100.0) / regions_tried;
-       printf("Tried %d regions, %d converted to NMG's successfully.  %g%%\n",
+       bu_log("Tried %d regions, %d converted to NMG's successfully.  %g%%\n",
               regions_tried, regions_converted, percent);
        percent = ((double)regions_written * 100.0) / regions_tried;
-       printf("                 %d triangulated successfully. %g%%\n",
+       bu_log("                 %d triangulated successfully. %g%%\n",
               regions_written, percent);
     }
 
@@ -456,11 +456,6 @@
            }
        }
     }
-    /* regions_converted++;
-       printf("Processed region %s\n", region_name);
-       printf("Regions attempted = %d Regions done = %d\n", regions_tried, 
regions_converted);
-       fflush(stdout);
-    */
     vert_offset += numverts;
     bu_ptbl_free(&verts);
     if (do_normals) {
@@ -652,7 +647,7 @@
 
        npercent = (float)(regions_converted * 100) / regions_tried;
        tpercent = (float)(regions_written * 100) / regions_tried;
-       printf("Tried %d regions; %d conv. to NMG's, %d conv. to tri.; nmgper = 
%.2f%%, triper = %.2f%%\n",
+       bu_log("Tried %d regions; %d conv. to NMG's, %d conv. to tri.; nmgper = 
%.2f%%, triper = %.2f%%\n",
               regions_tried, regions_converted, regions_written, npercent, 
tpercent);
     }
 

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