Showing the changes to interface/src/ui/PreferencesDialog.cpp (1 of 65 files). Show all
Unified · Split
| @@ -9,6 +9,7 @@ · 8 unmodified lines | |||
| 9 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html | 9 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html |
| 10 | // | 10 | // |
| 11 | 11 | ||
| 12 | #include <QFileDialog> | ||
| 12 | 13 | ||
| 13 | #include "Application.h" | 14 | #include "Application.h" |
| 14 | #include "MainWindow.h" | 15 | #include "MainWindow.h" |
| @@ -214,7 +215,6 @@ void PreferencesDialog::savePreferences() { · 199 unmodified lines | |||
| 214 | myAvatar->setLeanScale(ui.leanScaleSpin->value()); | 215 | myAvatar->setLeanScale(ui.leanScaleSpin->value()); |
| 215 | myAvatar->setClampedTargetScale(ui.avatarScaleSpin->value()); | 216 | myAvatar->setClampedTargetScale(ui.avatarScaleSpin->value()); |
| 216 | 217 | ||
| 217 | Application::getInstance()->getVoxels()->setMaxVoxels(ui.maxVoxelsSpin->value()); | ||
| 218 | GLCanvas::SharedPointer glCanvas = DependencyManager::get<GLCanvas>(); | 218 | GLCanvas::SharedPointer glCanvas = DependencyManager::get<GLCanvas>(); |
| 219 | Application::getInstance()->resizeGL(glCanvas->width(), glCanvas->height()); | 219 | Application::getInstance()->resizeGL(glCanvas->width(), glCanvas->height()); |
| 220 | 220 | ||