History

make HideOutOfView the default behavior

ZappoMan committed 13 years ago

Commit 3c8e30c1 parent 17860494 files · +6 −7Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 4 files). Show all

Unified · Split

interface/src/VoxelSystem.cpp+1−1
@@ -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 remove757 // 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 (which758 // 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)) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t