mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 01:31:37 +02:00
fix one call to calculateShouldRender()
This commit is contained in:
parent
96870f5d66
commit
e8f5c86c73
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue