This commit is contained in:
ZappoMan 2014-11-06 14:00:26 -08:00
parent 90b079d5a8
commit 768a854b00
4 changed files with 0 additions and 6 deletions

View file

@ -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()),

View file

@ -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;
}

View file

@ -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);

View file

@ -19,7 +19,6 @@
#include <fstream> // to load voxels from file
#include <QDebug>
#include <QThread>
#include <QVector>
#include <GeometryUtil.h>