From 5144a91d1f97edfb4cd29310f6c618f5414dd90a Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Fri, 3 Jan 2014 17:28:06 -0800 Subject: [PATCH] cleanup spacing and comments --- libraries/octree-server/src/OctreeSendThread.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/octree-server/src/OctreeSendThread.cpp b/libraries/octree-server/src/OctreeSendThread.cpp index 3ac9ac4911..fb75a6cee9 100644 --- a/libraries/octree-server/src/OctreeSendThread.cpp +++ b/libraries/octree-server/src/OctreeSendThread.cpp @@ -451,8 +451,8 @@ int OctreeSendThread::packetDistributor(Node* node, OctreeQueryNode* nodeData, b } // If the last node didn't fit, but we're in compressed mode, then we actually want to see if we can fit a - // little bit more in this packet. To do this we - + // little bit more in this packet. To do this we write into the packet, but don't send it yet, we'll + // keep attempting to write in compressed mode to add more compressed segments // We only consider sending anything if there is something in the _packetData to send... But // if bytesWritten == 0 it means either the subTree couldn't fit or we had an empty bag... Both cases @@ -496,9 +496,9 @@ int OctreeSendThread::packetDistributor(Node* node, OctreeQueryNode* nodeData, b int targetSize = MAX_OCTREE_PACKET_DATA_SIZE; if (sendNow) { - if (forceDebugging) { - qDebug("about to call handlePacketSend() .... line: %d -- sendNow = TRUE\n", __LINE__); - } + if (forceDebugging) { + qDebug("about to call handlePacketSend() .... line: %d -- sendNow = TRUE\n", __LINE__); + } packetsSentThisInterval += handlePacketSend(node, nodeData, trueBytesSent, truePacketsSent); if (wantCompression) { targetSize = nodeData->getAvailable() - sizeof(OCTREE_PACKET_INTERNAL_SECTION_SIZE);