Showing the changes to interface/src/VoxelSystem.cpp (1 of 4 files). Show all
Unified · Split
| @@ -757,7 +757,7 @@ void VoxelSystem::checkForCulling() { · 756 unmodified lines | |||
| 757 | // When we call removeOutOfView() voxels, we don't actually remove the voxels from the VBOs, but we do remove | 757 | // When we call removeOutOfView() voxels, we don't actually remove the voxels from the VBOs, but we do remove |
| 758 | // them from tree, this makes our tree caclulations faster, but doesn't require us to fully rebuild the VBOs (which | 758 | // them from tree, this makes our tree caclulations faster, but doesn't require us to fully rebuild the VBOs (which |
| 759 | // can be expensive). | 759 | // can be expensive). |
| 760 | if (Menu::getInstance()->isOptionChecked(MenuOption::HideOutOfView)) { | 760 | if (!Menu::getInstance()->isOptionChecked(MenuOption::DisableHideOutOfView)) { |
| 761 | hideOutOfView(); | 761 | hideOutOfView(); |
| 762 | } | 762 | } |
| 763 | if (!Menu::getInstance()->isOptionChecked(MenuOption::DontRemoveOutOfView)) { | 763 | if (!Menu::getInstance()->isOptionChecked(MenuOption::DontRemoveOutOfView)) { |