Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all
Unified · Split
| @@ -2365,6 +2365,11 @@ void Application::queryVoxels() { · 2364 unmodified lines | ||
| 2365 | 2365 | } |
| 2366 | 2366 | |
| 2367 | 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 | 2373 | _voxelQuery.setCameraPosition(_viewFrustum.getPosition()); |
| 2369 | 2374 | _voxelQuery.setCameraOrientation(_viewFrustum.getOrientation()); |
| 2370 | 2375 | _voxelQuery.setCameraFov(_viewFrustum.getFieldOfView()); |