History

removed some old comments

ZappoMan committed 13 years ago

Commit f618b3a1 parent f5efe2d1 file · +9 −11Browse files

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

Unified · Split

interface/src/VoxelSystem.cpp+9−11
@@ -1746,11 +1746,11 @@ bool VoxelSystem::showAllLocalVoxelsOperation(VoxelNode* node, void* extraData) · 1745 unmodified lines
17461746 if (shouldRender) {
17471747 bool falseColorize = false;
17481748 if (falseColorize) {
1749− node->setFalseColor(0,0,255); // fake
1749+ node->setFalseColor(0,0,255); // false colorize
17501750 }
1751− // how does randomize color work?
1752− node->setDirtyBit(); // will this make it draw!
1753− node->markWithChangedTime(); // fake
1751+ // These are both needed to force redraw...
1752+ node->setDirtyBit();
1753+ node->markWithChangedTime();
17541754 }
17551755
17561756 return true; // keep recursing!
@@ -1882,7 +1882,7 @@ bool VoxelSystem::hideAllSubTreeOperation(VoxelNode* node, void* extraData) { · 125 unmodified lines
18821882 args->nodesRemoved++;
18831883 bool falseColorize = false;
18841884 if (falseColorize) {
1885− node->setFalseColor(255,0,0); // fake
1885+ node->setFalseColor(255,0,0); // false colorize
18861886 } else {
18871887 VoxelSystem* thisVoxelSystem = args->thisVoxelSystem;
18881888 thisVoxelSystem->_voxelsUpdated += thisVoxelSystem->forceRemoveNodeFromArrays(node);
@@ -1914,18 +1914,17 @@ bool VoxelSystem::showAllSubTreeOperation(VoxelNode* node, void* extraData) { · 25 unmodified lines
19141914
19151915 args->nodesInside++;
19161916
1917− //printf("<<<<<<<<<<< showAllSubTreeOperation() >>>>>>>>>>>>>>>\n");
1918−
19191917 bool shouldRender = node->calculateShouldRender(&args->thisViewFrustum);
19201918 node->setShouldRender(shouldRender);
19211919
19221920 if (shouldRender && !node->isKnownBufferIndex()) {
19231921 bool falseColorize = false;
19241922 if (falseColorize) {
1925− node->setFalseColor(0,0,255); // fake
1923+ node->setFalseColor(0,0,255); // false colorize
19261924 }
1927− node->setDirtyBit(); // will this make it draw!
1928− node->markWithChangedTime(); // fake
1925+ // These are both needed to force redraw...
1926+ node->setDirtyBit();
1927+ node->markWithChangedTime();
19291928 }
19301929
19311930 return true; // keep recursing!
@@ -1985,7 +1984,6 @@ bool VoxelSystem::hideOutOfViewOperation(VoxelNode* node, void* extraData) { · 53 unmodified lines
19851984 // if this node is fully INSIDE the view, but previously INTERSECTED and/or was OUTSIDE the last view, then
19861985 // we need to show it. Additionally we know that ALL of it's children are also fully INSIDE so we can recurse
19871986 // the children and simply mark them as visible (as appropriate based on LOD)
1988− //printf("<<<<<<<<<<< HERE!!!!! >>>>>>>>>>>>>>>\n");
19891987 args->tree->recurseNodeWithOperation(node, showAllSubTreeOperation, args);
19901988
19911989 return false;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t