Revision: 41930
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41930&view=rev
Author:   starseeker
Date:     2011-01-04 16:55:29 +0000 (Tue, 04 Jan 2011)

Log Message:
-----------
Whoops - don't want that debug code in there for real.

Modified Paths:
--------------
    brlcad/branches/cmake/src/librt/primitives/brep/brep.cpp

Modified: brlcad/branches/cmake/src/librt/primitives/brep/brep.cpp
===================================================================
--- brlcad/branches/cmake/src/librt/primitives/brep/brep.cpp    2011-01-04 
16:52:12 UTC (rev 41929)
+++ brlcad/branches/cmake/src/librt/primitives/brep/brep.cpp    2011-01-04 
16:55:29 UTC (rev 41930)
@@ -284,10 +284,6 @@
 int
 brep_build_bvh(struct brep_specific* bs)
 {
-    int depth[101];
-    for(int i = 0; i < 101; i++){
-           depth[i] = 0;
-    }
     // First, run the openNURBS validity check on the brep in question
     ON_TextLog tl(stderr);
     ON_Brep* brep = bs->brep;
@@ -321,7 +317,6 @@
      */
     ON_BrepFaceArray& faces = brep->m_F;
     for (int i = 0; i < faces.Count(); i++) {
-       int currdepth;
        ON_BrepFace& face = faces[i];
        /*
         * bu_log("Prepping Face: %d of %d\n", i+1, faces.Count());
@@ -329,16 +324,7 @@
        SurfaceTree* st = new SurfaceTree(&face);
        face.m_face_user.p = st;
        bs->bvh->addChild(st->getRootNode());
-        currdepth = st->depth(); 
-       if (currdepth <= 100) {
-               depth[currdepth] = depth[currdepth] + 1;
-       } else {
-               bu_log("Error - depth > 100\n");
-       }
     }
-    for (int i = 0; i < 40; i++) {
-           bu_log("depth: %d count: %d\n", i, depth[i]);
-    }
     bs->bvh->BuildBBox();
     return 0;
 }


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

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to