This commit is contained in:
Xuchen Han committed 2019-10-15 13:50:13 -07:00
1 parent ca92cf067e
commit 94facf0029
1 file changed
+1 -1
@@ -8145,7 +8145,7 @@ bool PhysicsServerCommandProcessor::processLoadSoftBodyCommand(const struct Shar
psb->setCollisionFlags(0); psb->setCollisionFlags(0);
psb->setTotalMass(mass); psb->setTotalMass(mass);
bool use_self_collision = false; bool use_self_collision = false;
if (clientCmd.m_updateFlags & LOAD_SOFT_BODY_USE_SELF_COLLISION) if (clientCmd.m_updateFlags & LOAD_SOFT_BODY_SET_SELF_COLLISION)
{ {
use_self_collision = loadSoftBodyArgs.m_useSelfCollision; use_self_collision = loadSoftBodyArgs.m_useSelfCollision;
} }