Missed reverting one extra assignment.
authorKen Hughes <khughes@pacific.edu>
Sun, 3 Feb 2008 02:09:06 +0000 (02:09 +0000)
committerKen Hughes <khughes@pacific.edu>
Sun, 3 Feb 2008 02:09:06 +0000 (02:09 +0000)
extern/bullet2/src/BulletCollision/CollisionShapes/btOptimizedBvh.cpp

index 5817f7b1e6dbba1fc745504a60801cc00b1cd9ad..44438a244551f7fe9da823ba354ffa37d9a04636 100644 (file)
@@ -702,6 +702,7 @@ void        btOptimizedBvh::walkStacklessQuantizedTree(btNodeOverlapCallback* nodeCallb
        
        int curIndex = startNodeIndex;
        int walkIterations = 0;
+       int subTreeSize = endNodeIndex - startNodeIndex;
 
        const btQuantizedBvhNode* rootNode = &m_quantizedContiguousNodes[startNodeIndex];
        int escapeIndex;