diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 7321be5ac1..928b4a0684 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -3053,9 +3053,8 @@ void Application::queryOctree(NodeType_t serverType, PacketType::Value packetTyp voxelDetailsForCode(rootCode, rootDetails); AACube serverBounds(glm::vec3(rootDetails.x * TREE_SCALE, rootDetails.y * TREE_SCALE, - rootDetails.z * TREE_SCALE), + rootDetails.z * TREE_SCALE) - glm::vec3(HALF_TREE_SCALE), rootDetails.s * TREE_SCALE); - ViewFrustum::location serverFrustumLocation = _viewFrustum.cubeInFrustum(serverBounds); if (serverFrustumLocation != ViewFrustum::OUTSIDE) { @@ -3120,11 +3119,10 @@ void Application::queryOctree(NodeType_t serverType, PacketType::Value packetTyp voxelDetailsForCode(rootCode, rootDetails); AACube serverBounds(glm::vec3(rootDetails.x * TREE_SCALE, rootDetails.y * TREE_SCALE, - rootDetails.z * TREE_SCALE), + rootDetails.z * TREE_SCALE) - glm::vec3(HALF_TREE_SCALE), rootDetails.s * TREE_SCALE); - ViewFrustum::location serverFrustumLocation = _viewFrustum.cubeInFrustum(serverBounds); if (serverFrustumLocation != ViewFrustum::OUTSIDE) { inView = true; @@ -3143,7 +3141,7 @@ void Application::queryOctree(NodeType_t serverType, PacketType::Value packetTyp } else if (unknownView) { if (wantExtraDebugging) { qCDebug(interfaceapp) << "no known jurisdiction for node " << *node << ", give it budget of " - << perUnknownServer << " to send us jurisdiction."; + << perUnknownServer << " to send us jurisdiction."; } // set the query's position/orientation to be degenerate in a manner that will get the scene quickly