From b7ed3ce65920bcdb4a9846dca006617d2079af0c Mon Sep 17 00:00:00 2001 From: Cain Kilgore Date: Fri, 14 Jul 2017 17:33:17 +0100 Subject: [PATCH] Prettified the Comment --- interface/src/ui/PreferencesDialog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/interface/src/ui/PreferencesDialog.cpp b/interface/src/ui/PreferencesDialog.cpp index bbdbb0187b..87131e4f5c 100644 --- a/interface/src/ui/PreferencesDialog.cpp +++ b/interface/src/ui/PreferencesDialog.cpp @@ -189,8 +189,10 @@ void setupPreferences() { preference->setDecimals(2); preferences->addPreference(preference); - // When the Interface is first loaded, this section setupPreferences(); is loaded - causing the myAvatar->getDomainMinScale() and myAvatar->getDomainMaxScale() to get set to incorrect values which can't be changed across domain switches. - // Having these values loaded up when you load the Dialog each time is a way around this, therefore they're not specified here but in the QML. + // When the Interface is first loaded, this section setupPreferences(); is loaded - + // causing the myAvatar->getDomainMinScale() and myAvatar->getDomainMaxScale() to get set to incorrect values + // which can't be changed across domain switches. Having these values loaded up when you load the Dialog each time + // is a way around this, therefore they're not specified here but in the QML. } { auto getter = []()->float { return DependencyManager::get()->getEyeClosingThreshold(); };