History

fix Voxel Server Protocol menu options to work again

ZappoMan committed 13 years ago

Commit 0bbbd7e1 parent 719a0142 files · +9 −28Browse files

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

Unified · Split

interface/src/Application.cpp+5−0
@@ -2365,6 +2365,11 @@ void Application::queryVoxels() { · 2364 unmodified lines
2365 }2365 }
2366 2366
2367 // These will be the same for all servers, so we can set them up once and then reuse for each server we send to.2367 // These will be the same for all servers, so we can set them up once and then reuse for each server we send to.
2368 _voxelQuery.setWantLowResMoving(Menu::getInstance()->isOptionChecked(MenuOption::LowRes));
2369 _voxelQuery.setWantColor(Menu::getInstance()->isOptionChecked(MenuOption::SendVoxelColors));
2370 _voxelQuery.setWantDelta(Menu::getInstance()->isOptionChecked(MenuOption::DeltaSending));
2371 _voxelQuery.setWantOcclusionCulling(Menu::getInstance()->isOptionChecked(MenuOption::OcclusionCulling));
2372
2368 _voxelQuery.setCameraPosition(_viewFrustum.getPosition());2373 _voxelQuery.setCameraPosition(_viewFrustum.getPosition());
2369 _voxelQuery.setCameraOrientation(_viewFrustum.getOrientation());2374 _voxelQuery.setCameraOrientation(_viewFrustum.getOrientation());
2370 _voxelQuery.setCameraFov(_viewFrustum.getFieldOfView());2375 _voxelQuery.setCameraFov(_viewFrustum.getFieldOfView());

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