Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all
Unified · Split
| @@ -158,7 +158,7 @@ void VoxelSystem::voxelUpdated(VoxelNode* node) { · 157 unmodified lines | |||
| 158 | VoxelNode* childNode = node->getChildAtIndex(i); | 158 | VoxelNode* childNode = node->getChildAtIndex(i); |
| 159 | if (childNode) { | 159 | if (childNode) { |
| 160 | bool wasShouldRender = childNode->getShouldRender(); | 160 | bool wasShouldRender = childNode->getShouldRender(); |
| 161 | bool isShouldRender = childNode->calculateShouldRender(_viewFrustum, voxelSizeScale); | 161 | bool isShouldRender = childNode->calculateShouldRender(_viewFrustum, voxelSizeScale, boundaryLevelAdjust); |
| 162 | if (wasShouldRender && !isShouldRender) { | 162 | if (wasShouldRender && !isShouldRender) { |
| 163 | childrenGotHiddenCount++; | 163 | childrenGotHiddenCount++; |
| 164 | } | 164 | } |