1
0
Fork 0

Removed some left over debugging output.

This commit is contained in:
curt 2002-10-24 12:12:14 +00:00
parent bbf33cc7cb
commit 786e58aa1a

View file

@ -700,9 +700,12 @@ static int fgPartialFreeSSGtree( ssgBranch *b, int n ) {
if ( n > 0 ) { if ( n > 0 ) {
// we still have some delete budget left // we still have some delete budget left
if ( b->getNumKids() > 100 ) { // if ( b->getNumKids() > 100 ) {
cout << "large family = " << b->getNumKids() << endl; // 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 ) { for ( int i = 0; i < b->getNumKids(); ++i ) {
ssgEntity *kid = b->getKid(i); ssgEntity *kid = b->getKid(i);
if ( kid->isAKindOf( ssgTypeBranch() ) && kid->getRef() <= 1 ) { if ( kid->isAKindOf( ssgTypeBranch() ) && kid->getRef() <= 1 ) {