Showing the changes to interface/src/VoxelSystem.cpp (1 of 4 files). Show all
Unified · Split
| @@ -812,7 +812,9 @@ bool VoxelSystem::falseColorizeInViewOperation(VoxelNode* node, void* extraData) · 811 unmodified lines | ||
| 812 | 812 | return true; // keep going! |
| 813 | 813 | } |
| 814 | 814 | |
| 815 | −void VoxelSystem::falseColorizeInView(ViewFrustum* viewFrustum) { | |
| 815 | +void VoxelSystem::falseColorizeInView() { | |
| 816 | + ViewFrustum* viewFrustum = Application::getInstance()->getViewFrustum(); | |
| 817 | + | |
| 816 | 818 | _nodeCount = 0; |
| 817 | 819 | _tree->recurseTreeWithOperation(falseColorizeInViewOperation,(void*)viewFrustum); |
| 818 | 820 | qDebug("setting in view false color for %d nodes\n", _nodeCount); |