mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 17:26:24 +02:00
cleanup
This commit is contained in:
parent
90b079d5a8
commit
768a854b00
4 changed files with 0 additions and 6 deletions
|
@ -154,7 +154,6 @@ void OctreeInboundPacketProcessor::processPacket(const SharedNodePointer& sendin
|
|||
|
||||
quint64 startLock = usecTimestampNow();
|
||||
_myServer->getOctree()->lockForWrite();
|
||||
|
||||
quint64 startProcess = usecTimestampNow();
|
||||
int editDataBytesRead = _myServer->getOctree()->processEditPacketData(packetType,
|
||||
reinterpret_cast<const unsigned char*>(packet.data()),
|
||||
|
|
|
@ -496,10 +496,8 @@ int EntityTree::processEditPacketData(PacketType packetType, const unsigned char
|
|||
|
||||
// if the entityItem exists, then update it
|
||||
if (existingEntity) {
|
||||
qDebug() << "Calling updateEntity() properties.getLastEdited(): " << properties.getLastEdited();
|
||||
updateEntity(entityItemID, properties);
|
||||
existingEntity->markAsChangedOnServer();
|
||||
qDebug() << "AFTER updateEntity() now: " << usecTimestampNow();
|
||||
} else {
|
||||
qDebug() << "User attempted to edit an unknown entity. ID:" << entityItemID;
|
||||
}
|
||||
|
|
|
@ -325,9 +325,7 @@ OctreeElement::AppendState EntityTreeElement::appendElementData(OctreePacketData
|
|||
if (successAppendEntityCount) {
|
||||
foreach (uint16_t i, indexesOfEntitiesToInclude) {
|
||||
EntityItem* entity = (*_entityItems)[i];
|
||||
|
||||
LevelDetails entityLevel = packetData->startLevel();
|
||||
|
||||
OctreeElement::AppendState appendEntityState = entity->appendEntityData(packetData,
|
||||
params, entityTreeElementExtraEncodeData);
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include <fstream> // to load voxels from file
|
||||
|
||||
#include <QDebug>
|
||||
#include <QThread>
|
||||
#include <QVector>
|
||||
|
||||
#include <GeometryUtil.h>
|
||||
|
|
Loading…
Reference in a new issue