mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 17:17:58 +02:00
remove isScheduledForDelete from OctreeQueryNode
This commit is contained in:
parent
450a9c03a7
commit
b3f60a068d
3 changed files with 0 additions and 11 deletions
|
@ -36,7 +36,6 @@ OctreeQueryNode::OctreeQueryNode() :
|
||||||
_lodChanged(false),
|
_lodChanged(false),
|
||||||
_lodInitialized(false),
|
_lodInitialized(false),
|
||||||
_sequenceNumber(0),
|
_sequenceNumber(0),
|
||||||
_scheduleForDelete(false),
|
|
||||||
_lastRootTimestamp(0)
|
_lastRootTimestamp(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,9 +86,6 @@ public:
|
||||||
|
|
||||||
void dumpOutOfView();
|
void dumpOutOfView();
|
||||||
|
|
||||||
bool isScheduledForDelete() const { return _scheduleForDelete; }
|
|
||||||
void scheduleForDelete() { _scheduleForDelete = true; }
|
|
||||||
|
|
||||||
quint64 getLastRootTimestamp() const { return _lastRootTimestamp; }
|
quint64 getLastRootTimestamp() const { return _lastRootTimestamp; }
|
||||||
void setLastRootTimestamp(quint64 timestamp) { _lastRootTimestamp = timestamp; }
|
void setLastRootTimestamp(quint64 timestamp) { _lastRootTimestamp = timestamp; }
|
||||||
unsigned int getlastOctreePacketLength() const { return _lastOctreePacketLength; }
|
unsigned int getlastOctreePacketLength() const { return _lastOctreePacketLength; }
|
||||||
|
@ -129,9 +126,6 @@ private:
|
||||||
bool _lodInitialized;
|
bool _lodInitialized;
|
||||||
|
|
||||||
OCTREE_PACKET_SEQUENCE _sequenceNumber;
|
OCTREE_PACKET_SEQUENCE _sequenceNumber;
|
||||||
|
|
||||||
bool _scheduleForDelete;
|
|
||||||
|
|
||||||
quint64 _lastRootTimestamp;
|
quint64 _lastRootTimestamp;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -69,10 +69,6 @@ bool OctreeSendThread::process() {
|
||||||
bool viewFrustumChanged = nodeData->updateCurrentViewFrustum();
|
bool viewFrustumChanged = nodeData->updateCurrentViewFrustum();
|
||||||
packetDistributor(node, nodeData, viewFrustumChanged);
|
packetDistributor(node, nodeData, viewFrustumChanged);
|
||||||
}
|
}
|
||||||
if (nodeData->isScheduledForDelete()) {
|
|
||||||
nodeData->deleteLater();
|
|
||||||
node->setLinkedData(NULL);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
_nodeMissingCount++;
|
_nodeMissingCount++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue