From 4ea0d32c8c1e09ea59a04b2bac5bd72221cdf3be Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Wed, 5 Nov 2014 12:14:09 -0800 Subject: [PATCH] dead code --- assignment-client/src/voxels/VoxelServer.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/assignment-client/src/voxels/VoxelServer.cpp b/assignment-client/src/voxels/VoxelServer.cpp index 237b6d5006..a83e3e99e3 100644 --- a/assignment-client/src/voxels/VoxelServer.cpp +++ b/assignment-client/src/voxels/VoxelServer.cpp @@ -84,20 +84,6 @@ int VoxelServer::sendSpecialPacket(const SharedNodePointer& node, OctreeQueryNod void VoxelServer::readAdditionalConfiguration(const QJsonObject& settingsSectionObject) { // should we send environments? Default is yes, but this command line suppresses sending - /* - const char* SEND_ENVIRONMENTS = "--sendEnvironments"; - bool dontSendEnvironments = !cmdOptionExists(_argc, _argv, SEND_ENVIRONMENTS); - if (dontSendEnvironments) { - qDebug("Sending environments suppressed..."); - _sendEnvironments = false; - } else { - _sendEnvironments = true; - // should we send environments? Default is yes, but this command line suppresses sending - const char* MINIMAL_ENVIRONMENT = "--minimalEnvironment"; - _sendMinimalEnvironment = cmdOptionExists(_argc, _argv, MINIMAL_ENVIRONMENT); - qDebug("Using Minimal Environment=%s", debug::valueOf(_sendMinimalEnvironment)); - } - */ readOptionBool(QString("sendEnvironments"), settingsSectionObject, _sendEnvironments); bool dontSendEnvironments = !_sendEnvironments; if (dontSendEnvironments) {