fix ComPlicit locking
This commit is contained in:
parent
cecc773be7
commit
afdbfe2b02
|
|
@ -1 +1 @@
|
||||||
Subproject commit 218159140c7d79ae745e646da721d12331f536f5
|
Subproject commit e25de95445f2d635a125ab463426bb7fda017093
|
||||||
|
|
@ -166,10 +166,10 @@ namespace RNR
|
||||||
if(m_runService && m_runService->getRunning() && !m_runService->getPaused())
|
if(m_runService && m_runService->getRunning() && !m_runService->getPaused())
|
||||||
{
|
{
|
||||||
m_runService->step(timestep);
|
m_runService->step(timestep);
|
||||||
physicsIterateLock.lock();
|
|
||||||
m_dynamicsWorld->stepSimulation(timestep, 2);
|
m_dynamicsWorld->stepSimulation(timestep, 2);
|
||||||
physicsIterateLock.unlock();
|
physicsIterateLock.lock();
|
||||||
m_ngine->updateTree();
|
m_ngine->updateTree();
|
||||||
|
physicsIterateLock.unlock();
|
||||||
}
|
}
|
||||||
return 0.0;
|
return 0.0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue