From 7bf125e4608299a6392c7f96276f7f909e234ff7 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Thu, 4 May 2017 13:28:09 -0700 Subject: [PATCH] reset the m_userConstraintUIDGenerator to 1 after 'resetSimulation' --- examples/SharedMemory/PhysicsServerCommandProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp index 96ab8fd29..2883b3b92 100644 --- a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp +++ b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp @@ -1729,7 +1729,7 @@ void PhysicsServerCommandProcessor::deleteDynamicsWorld() delete m_data->m_collisionConfiguration; m_data->m_collisionConfiguration=0; - + m_userConstraintUIDGenerator = 1; }