From 4fb5e6842590feee2960211c448cc5367d03788a Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Thu, 13 Feb 2014 14:33:23 -0800 Subject: [PATCH] removed some debug --- interface/src/VoxelSystem.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/interface/src/VoxelSystem.cpp b/interface/src/VoxelSystem.cpp index 37bb2b5db1..9cacd02b18 100644 --- a/interface/src/VoxelSystem.cpp +++ b/interface/src/VoxelSystem.cpp @@ -127,16 +127,9 @@ void VoxelSystem::setDisableFastVoxelPipeline(bool disableFastVoxelPipeline) { void VoxelSystem::elementUpdated(OctreeElement* element) { VoxelTreeElement* voxel = (VoxelTreeElement*)element; -//qDebug() << "VoxelSystem::elementUpdated()..."; // If we're in SetupNewVoxelsForDrawing() or _writeRenderFullVBO then bail.. if (!_useFastVoxelPipeline || _inSetupNewVoxelsForDrawing || _writeRenderFullVBO) { -/* -qDebug() << "VoxelSystem::elementUpdated()... BAILING!!! " - << "_writeRenderFullVBO="<< _writeRenderFullVBO - << "_inSetupNewVoxelsForDrawing="<< _inSetupNewVoxelsForDrawing - << "_useFastVoxelPipeline="<< _useFastVoxelPipeline; -*/ return; } @@ -147,8 +140,6 @@ qDebug() << "VoxelSystem::elementUpdated()... BAILING!!! " int boundaryLevelAdjust = Menu::getInstance()->getBoundaryLevelAdjust(); shouldRender = voxel->calculateShouldRender(_viewFrustum, voxelSizeScale, boundaryLevelAdjust); -//qDebug() << "VoxelSystem::elementUpdated()... recalcing should render!!"; - if (voxel->getShouldRender() != shouldRender) { voxel->setShouldRender(shouldRender); } @@ -176,13 +167,11 @@ qDebug() << "VoxelSystem::elementUpdated()... BAILING!!! " const bool REUSE_INDEX = true; const bool DONT_FORCE_REDRAW = false; -//qDebug() << "VoxelSystem::elementUpdated()... calling updateNodeInArrays()!!!"; updateNodeInArrays(voxel, REUSE_INDEX, DONT_FORCE_REDRAW); _voxelsUpdated++; voxel->clearDirtyBit(); // clear the dirty bit, do this before we potentially delete things. -//qDebug() << "VoxelSystem::elementUpdated()... calling setupNewVoxelsForDrawingSingleNode()!!!"; setupNewVoxelsForDrawingSingleNode(); } }