Skip to content

Commit f407ed4

Browse files
committed
Revert "Clear mFreeBoxIndices to remove the indices that were removed from shrinking"
This reverts commit 31c453f. This needs to be looked at again. This was not the right fix.
1 parent 9178ff5 commit f407ed4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/org/spout/physics/collision/broadphase/SweepAndPruneAlgorithm.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,6 @@ private void shrinkArrays() {
393393
newMapBodyToBoxIndex.put(body, boxIndex);
394394
}
395395
}
396-
mFreeBoxIndices.clear();
397396
if (newMapBodyToBoxIndex.size() != mMapBodyToBoxIndex.size()) {
398397
throw new IllegalStateException("The size of the new map from body to box index must be the same as the old one");
399398
}

0 commit comments

Comments
 (0)