PyBullet: Fix syncBodyInfo for over 512 bodies.

PyBullet: Fix issue related to recent change in drawDebugDrawerLines (soft body)
This commit is contained in:
Erwin Coumans
2019-09-09 14:56:26 -07:00
parent 4515fcbfaf
commit 5a3c60c709
4 changed files with 117 additions and 33 deletions

View File

@@ -654,16 +654,21 @@ public:
{
if (m_debugDraw)
{
m_csGUI->lock();
//draw stuff and flush?
m_debugDraw->drawDebugDrawerLines();
m_csGUI->unlock();
}
}
virtual void clearLines()
{
if (m_debugDraw)
{
m_debugDraw->clearLines();
m_csGUI->lock();
if (m_debugDraw)
{
m_debugDraw->clearLines();
}
m_csGUI->unlock();
}
}
GUIHelperInterface* m_childGuiHelper;