From e8f5c86c7340d1878e133ad8f12b5a569752f4a9 Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Wed, 30 Oct 2013 12:19:47 -0700 Subject: [PATCH] fix one call to calculateShouldRender() --- interface/src/VoxelSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/VoxelSystem.cpp b/interface/src/VoxelSystem.cpp index 4b543ed13c..7581dcc8db 100644 --- a/interface/src/VoxelSystem.cpp +++ b/interface/src/VoxelSystem.cpp @@ -158,7 +158,7 @@ void VoxelSystem::voxelUpdated(VoxelNode* node) { VoxelNode* childNode = node->getChildAtIndex(i); if (childNode) { bool wasShouldRender = childNode->getShouldRender(); - bool isShouldRender = childNode->calculateShouldRender(_viewFrustum, voxelSizeScale); + bool isShouldRender = childNode->calculateShouldRender(_viewFrustum, voxelSizeScale, boundaryLevelAdjust); if (wasShouldRender && !isShouldRender) { childrenGotHiddenCount++; }