mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
remove exception when connecting to old server
This commit is contained in:
parent
51d05cc43e
commit
c0ed3edbbb
1 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
//
|
||||
/Merge branch 'master' of ssh://github.com/highfidelity/hifi into isentropic/
|
||||
// OctreePacketProcessor.cpp
|
||||
// interface/src/octree
|
||||
//
|
||||
|
@ -59,9 +59,7 @@ void OctreePacketProcessor::processPacket(const SharedNodePointer& sendingNode,
|
|||
PacketVersion expectedVersion = versionForPacketType(voxelPacketType);
|
||||
|
||||
// check version of piggyback packet against expected version
|
||||
if (packetVersion != expectedVersion
|
||||
// TODO: remove the temporary exception below when everyone is using meters instead of DomainUnits
|
||||
&& !(PacketTypeEntityData == voxelPacketType && packetVersion < VERSION_ENTITIES_USE_METERS_AND_RADIANS)) {
|
||||
if (packetVersion != expectedVersion) {
|
||||
static QMultiMap<QUuid, PacketType> versionDebugSuppressMap;
|
||||
|
||||
QUuid senderUUID = uuidFromPacketHeader(packet);
|
||||
|
|
Loading…
Reference in a new issue