Prettified the Comment

This commit is contained in:
Cain Kilgore 2017-07-14 17:33:17 +01:00
parent ee1f371902
commit b7ed3ce659

View file

@ -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<DdeFaceTracker>()->getEyeClosingThreshold(); };