History

make constant culling the default mode

ZappoMan committed 13 years ago

Commit 370fe3d1 parent 873a4793 files · +6 −6Browse files

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

Unified · Split

interface/src/VoxelSystem.cpp+1−1
@@ -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 view749 // 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 || (

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