mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-18 21:10:05 +00:00
Clear gContactProcessedCallback on exiting physics.
This commit is contained in:
parent
4622ab4299
commit
dcfa5a3ee2
@ -545,6 +545,8 @@ bool NN3DWalkers::keyboardCallback(int key, int state)
|
||||
void NN3DWalkers::exitPhysics()
|
||||
{
|
||||
|
||||
gContactProcessedCallback = NULL; // clear contact processed callback on exiting
|
||||
|
||||
int i;
|
||||
|
||||
for (i=0;i<m_walkers.size();i++)
|
||||
|
Loading…
Reference in New Issue
Block a user