diff --git a/assignment-client/src/octree/OctreeServer.cpp b/assignment-client/src/octree/OctreeServer.cpp index 9d3402b895..f51d65fcef 100644 --- a/assignment-client/src/octree/OctreeServer.cpp +++ b/assignment-client/src/octree/OctreeServer.cpp @@ -834,11 +834,11 @@ void OctreeServer::readPendingDatagrams() { if (packetType == getMyQueryMessageType()) { // 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. - if (matchingNode) { + if (matchingNode) { nodeList->updateNodeWithDataFromPacket(matchingNode, receivedPacket); OctreeQueryNode* nodeData = (OctreeQueryNode*)matchingNode->getLinkedData(); if (nodeData && !nodeData->isOctreeSendThreadInitalized()) { - + // 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 // solution is to get the shared pointer for the current assignment. We need to make sure this is the