Clear the user cache, when re-using an existing contact point in the contact cache (btPersistentManifold).

Issues reported here: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2257
This commit is contained in:
erwin.coumans
2008-06-22 03:15:31 +00:00
parent 8634b6ba14
commit 441c729169

View File

@@ -175,7 +175,7 @@ void btPersistentManifold::AddManifoldPoint(const btManifoldPoint& newPoint)
#else
insertIndex = 0;
#endif
clearUserCache(m_pointCache[insertIndex]);
} else
{