diff options
author | erwincoumans <erwin.coumans@gmail.com> | 2019-03-26 19:51:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-26 19:51:43 -0700 |
commit | d88a28180244a789503b65d22714685dbd74b065 (patch) | |
tree | 6989f7ea410905665b28fe6973ac39b7319bf6e2 | |
parent | 4912f728867612321aea6ed0d14891c61f8f068a (diff) | |
parent | fed1a878d7e7b8a046d24d8a505e10694f73e913 (diff) | |
download | bullet3-d88a28180244a789503b65d22714685dbd74b065.tar.gz |
Merge pull request #2177 from crewmatt/master
Initializes simulation timestamp to 0 explicitly.
-rw-r--r-- | examples/SharedMemory/PhysicsServerCommandProcessor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp index 0778d57df..8cb562691 100644 --- a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp +++ b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp @@ -1699,6 +1699,7 @@ struct PhysicsServerCommandProcessorInternalData m_logPlaybackUid(-1), m_physicsDeltaTime(1. / 240.), m_numSimulationSubSteps(0), + m_simulationTimestamp(0), m_userConstraintUIDGenerator(1), m_broadphaseCollisionFilterCallback(0), m_pairCache(0), |