update complete status for removing collision shape

This commit is contained in:
Wenlong Lu
2018-10-01 17:54:23 -07:00
parent 167520a5e6
commit 085984f003

View File

@@ -8496,6 +8496,7 @@ bool PhysicsServerCommandProcessor::processRemoveBodyCommand(const struct Shared
m_data->m_worldImporters.removeAtIndex(foundIndex);
delete importer;
m_data->m_userCollisionShapeHandles.freeHandle(removeCollisionShapeId);
serverCmd.m_type = CMD_REMOVE_BODY_COMPLETED;
}
}
}