History

removed some debug

ZappoMan committed 12 years ago

Commit 4fb5e681 parent caab3af1 file · +0 −11Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all

Unified · Split

interface/src/VoxelSystem.cpp+0−11
@@ -127,16 +127,9 @@ void VoxelSystem::setDisableFastVoxelPipeline(bool disableFastVoxelPipeline) { · 126 unmodified lines
127127
128128 void VoxelSystem::elementUpdated(OctreeElement* element) {
129129 VoxelTreeElement* voxel = (VoxelTreeElement*)element;
130−//qDebug() << "VoxelSystem::elementUpdated()...";
131130
132131 // If we're in SetupNewVoxelsForDrawing() or _writeRenderFullVBO then bail..
133132 if (!_useFastVoxelPipeline || _inSetupNewVoxelsForDrawing || _writeRenderFullVBO) {
134−/*
135−qDebug() << "VoxelSystem::elementUpdated()... BAILING!!! "
136− << "_writeRenderFullVBO="<< _writeRenderFullVBO
137− << "_inSetupNewVoxelsForDrawing="<< _inSetupNewVoxelsForDrawing
138− << "_useFastVoxelPipeline="<< _useFastVoxelPipeline;
139−*/
140133 return;
141134 }
142135
@@ -147,8 +140,6 @@ qDebug() << "VoxelSystem::elementUpdated()... BAILING!!! " · 4 unmodified lines
147140 int boundaryLevelAdjust = Menu::getInstance()->getBoundaryLevelAdjust();
148141 shouldRender = voxel->calculateShouldRender(_viewFrustum, voxelSizeScale, boundaryLevelAdjust);
149142
150−//qDebug() << "VoxelSystem::elementUpdated()... recalcing should render!!";
151−
152143 if (voxel->getShouldRender() != shouldRender) {
153144 voxel->setShouldRender(shouldRender);
154145 }
@@ -176,13 +167,11 @@ qDebug() << "VoxelSystem::elementUpdated()... BAILING!!! " · 21 unmodified lines
176167
177168 const bool REUSE_INDEX = true;
178169 const bool DONT_FORCE_REDRAW = false;
179−//qDebug() << "VoxelSystem::elementUpdated()... calling updateNodeInArrays()!!!";
180170 updateNodeInArrays(voxel, REUSE_INDEX, DONT_FORCE_REDRAW);
181171 _voxelsUpdated++;
182172
183173 voxel->clearDirtyBit(); // clear the dirty bit, do this before we potentially delete things.
184174
185−//qDebug() << "VoxelSystem::elementUpdated()... calling setupNewVoxelsForDrawingSingleNode()!!!";
186175 setupNewVoxelsForDrawingSingleNode();
187176 }
188177 }