]> git.mxchange.org Git - flightgear.git/commitdiff
Removed some left over debugging output.
authorcurt <curt>
Thu, 24 Oct 2002 12:12:14 +0000 (12:12 +0000)
committercurt <curt>
Thu, 24 Oct 2002 12:12:14 +0000 (12:12 +0000)
src/Scenery/tileentry.cxx

index 7bd728e1819b41db76d91a4bbc430ae280f1e22b..49029c3bbc95d3dcff421375fb586e50d648378e 100644 (file)
@@ -700,9 +700,12 @@ static int fgPartialFreeSSGtree( ssgBranch *b, int n ) {
 
     if ( n > 0 ) {
         // we still have some delete budget left
-        if ( b->getNumKids() > 100 ) {
-            cout << "large family = " << b->getNumKids() << endl;
-        }
+        // if ( b->getNumKids() > 100 ) {
+        //     cout << "large family = " << b->getNumKids() << endl;
+        // }
+        // deleting in reverse would help if my plib patch get's
+        // applied, but for now it will make things slower.
+        // for ( int i = b->getNumKids() - 1; i >= 0 ; --i ) {
         for ( int i = 0; i < b->getNumKids(); ++i ) {
             ssgEntity *kid = b->getKid(i);
             if ( kid->isAKindOf( ssgTypeBranch() ) && kid->getRef() <= 1 ) {