History

add menu item for auto adjust LOD

ZappoMan committed 12 years ago

Commit caab3af1 parent 3aba29b3 files · +6 −1Browse files

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

Unified · Split

interface/src/Application.cpp+4−1
@@ -2709,7 +2709,10 @@ void Application::displaySide(Camera& whichCamera, bool selfAvatarOnly) { · 2708 unmodified lines
27092709 _voxels.render();
27102710
27112711 // double check that our LOD doesn't need to be auto-adjusted
2712− Menu::getInstance()->autoAdjustLOD(_fps);
2712+ // only adjust if our option is set
2713+ if (Menu::getInstance()->isOptionChecked(MenuOption::AutoAdjustLOD)) {
2714+ Menu::getInstance()->autoAdjustLOD(_fps);
2715+ }
27132716 }
27142717 }
27152718

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