Revision: 44735
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44735&view=rev
Author:   erikgreenwald
Date:     2011-06-06 13:49:03 +0000 (Mon, 06 Jun 2011)

Log Message:
-----------
Add a -9 flag to trigger the new bottess stuff for testing.

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

Modified: brlcad/trunk/src/conv/g-egg.c
===================================================================
--- brlcad/trunk/src/conv/g-egg.c       2011-06-06 11:53:40 UTC (rev 44734)
+++ brlcad/trunk/src/conv/g-egg.c       2011-06-06 13:49:03 UTC (rev 44735)
@@ -46,6 +46,8 @@
 #include "rtgeom.h"
 #include "raytrace.h"
 
+extern union tree *gcv_bottess_region_end(struct db_tree_state *tsp, const 
struct db_full_path *pathp, union tree *curtree, genptr_t client_data);
+
 struct gcv_data {
     void (*func)(struct nmgregion *, const struct db_full_path *, int, int, 
float [3]);
     FILE *fp;
@@ -197,7 +199,7 @@
 
 
     double percent;
-    int i, use_mc=0;
+    int i, use_mc=0, use_bottess=1;
 
     bu_setlinebuf(stderr);
 
@@ -272,6 +274,8 @@
            case '8':
                use_mc = 1;
                break;
+           case '9':
+               use_bottess = 1;
            case '?':
                bu_log("Unknown argument: \"%c\"\n", i);
            default:
@@ -337,7 +341,7 @@
                            1,          /* ncpu */
                            &tree_state,        /* state */
                            NULL,               /* start func */
-                           use_mc?gcv_region_end_mc:gcv_region_end,    /* end 
func */
+                           
use_mc?gcv_region_end_mc:use_bottess?gcv_bottess_region_end:gcv_region_end, /* 
end func */
                            use_mc?NULL:nmg_booltree_leaf_tess, /* leaf func */
                            (genptr_t)&gcvwriter);  /* client_data */
        fprintf(gcvwriter.fp, "}\n");


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

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to