Showing the changes to interface/src/VoxelSystem.cpp (1 of 3 files). Show all
Unified · Split
| @@ -744,7 +744,7 @@ void VoxelSystem::checkForCulling() { · 743 unmodified lines | |||
| 744 | uint64_t start = usecTimestampNow(); | 744 | uint64_t start = usecTimestampNow(); |
| 745 | uint64_t sinceLastViewCulling = (start - _lastViewCulling) / 1000; | 745 | uint64_t sinceLastViewCulling = (start - _lastViewCulling) / 1000; |
| 746 | 746 | ||
| 747 | bool constantCulling = Menu::getInstance()->isOptionChecked(MenuOption::ConstantCulling); | 747 | bool constantCulling = !Menu::getInstance()->isOptionChecked(MenuOption::DisableConstantCulling); |
| 748 | 748 | ||
| 749 | // If the view frustum is no longer changing, but has changed, since last time, then remove nodes that are out of view | 749 | // If the view frustum is no longer changing, but has changed, since last time, then remove nodes that are out of view |
| 750 | if (constantCulling || ( | 750 | if (constantCulling || ( |