History

first major pass at voxelEctomy

ZappoMan committed 11 years ago

Commit 4ea9bbc1 parent 2a129b665 files · +43 −5956Browse files

Showing the changes to interface/src/ui/PreferencesDialog.cpp (1 of 65 files). Show all

Unified · Split

interface/src/ui/PreferencesDialog.cpp+1−1
@@ -9,6 +9,7 @@ · 8 unmodified lines
9// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html9// 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