mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 17:35:45 +02:00
removed an extra space
This commit is contained in:
parent
aa694d6967
commit
968ea3563c
1 changed files with 2 additions and 2 deletions
|
@ -834,11 +834,11 @@ void OctreeServer::readPendingDatagrams() {
|
||||||
if (packetType == getMyQueryMessageType()) {
|
if (packetType == getMyQueryMessageType()) {
|
||||||
// If we got a query packet, then we're talking to an agent, and we
|
// If we got a query packet, then we're talking to an agent, and we
|
||||||
// need to make sure we have it in our nodeList.
|
// need to make sure we have it in our nodeList.
|
||||||
if (matchingNode) {
|
if (matchingNode) {
|
||||||
nodeList->updateNodeWithDataFromPacket(matchingNode, receivedPacket);
|
nodeList->updateNodeWithDataFromPacket(matchingNode, receivedPacket);
|
||||||
OctreeQueryNode* nodeData = (OctreeQueryNode*)matchingNode->getLinkedData();
|
OctreeQueryNode* nodeData = (OctreeQueryNode*)matchingNode->getLinkedData();
|
||||||
if (nodeData && !nodeData->isOctreeSendThreadInitalized()) {
|
if (nodeData && !nodeData->isOctreeSendThreadInitalized()) {
|
||||||
|
|
||||||
// NOTE: this is an important aspect of the proper ref counting. The send threads/node data need to
|
// NOTE: this is an important aspect of the proper ref counting. The send threads/node data need to
|
||||||
// know that the OctreeServer/Assignment will not get deleted on it while it's still active. The
|
// know that the OctreeServer/Assignment will not get deleted on it while it's still active. The
|
||||||
// solution is to get the shared pointer for the current assignment. We need to make sure this is the
|
// solution is to get the shared pointer for the current assignment. We need to make sure this is the
|
||||||
|
|
Loading…
Reference in a new issue