Check for availability of soft body

This commit is contained in:
Jiaxi 2020-06-14 21:42:32 -04:00
parent a848c1d6e9
commit f034e64cc6

View File

@ -11012,6 +11012,7 @@ bool PhysicsServerCommandProcessor::processApplyExternalForceCommand(const struc
}
}
#ifndef SKIP_SOFT_BODY_MULTI_BODY_DYNAMICS_WORLD
if (body && body->m_softBody)
{
btSoftBody* sb = body->m_softBody;
@ -11034,6 +11035,8 @@ bool PhysicsServerCommandProcessor::processApplyExternalForceCommand(const struc
}
}
}
#endif
}
SharedMemoryStatus& serverCmd = serverStatusOut;