Faceshift rotates body, slow near others for easier positioning
Showing the changes to interface/src/Menu.cpp (1 of 11 files). Show all
Unified · Split
| @@ -488,7 +488,6 @@ void Menu::loadSettings(QSettings* settings) { · 487 unmodified lines | ||
| 488 | 488 | settings = Application::getInstance()->getSettings(); |
| 489 | 489 | } |
| 490 | 490 | |
| 491 | − _gyroCameraSensitivity = loadSetting(settings, "gyroCameraSensitivity", 0.5f); | |
| 492 | 491 | _audioJitterBufferSamples = loadSetting(settings, "audioJitterBufferSamples", 0); |
| 493 | 492 | _fieldOfView = loadSetting(settings, "fieldOfView", DEFAULT_FIELD_OF_VIEW_DEGREES); |
| 494 | 493 | _maxVoxels = loadSetting(settings, "maxVoxels", DEFAULT_MAX_VOXELS_PER_SYSTEM); |
| @@ -512,7 +511,6 @@ void Menu::saveSettings(QSettings* settings) { · 17 unmodified lines | ||
| 512 | 511 | settings = Application::getInstance()->getSettings(); |
| 513 | 512 | } |
| 514 | 513 | |
| 515 | − settings->setValue("gyroCameraSensitivity", _gyroCameraSensitivity); | |
| 516 | 514 | settings->setValue("audioJitterBufferSamples", _audioJitterBufferSamples); |
| 517 | 515 | settings->setValue("fieldOfView", _fieldOfView); |
| 518 | 516 | settings->setValue("maxVoxels", _maxVoxels); |
| @@ -781,10 +779,6 @@ void Menu::editPreferences() { · 262 unmodified lines | ||
| 781 | 779 | fieldOfView->setValue(_fieldOfView); |
| 782 | 780 | form->addRow("Vertical Field of View (Degrees):", fieldOfView); |
| 783 | 781 | |
| 784 | − QDoubleSpinBox* gyroCameraSensitivity = new QDoubleSpinBox(); | |
| 785 | − gyroCameraSensitivity->setValue(_gyroCameraSensitivity); | |
| 786 | − form->addRow("Gyro Camera Sensitivity (0 - 1):", gyroCameraSensitivity); | |
| 787 | − | |
| 788 | 782 | QDoubleSpinBox* leanScale = new QDoubleSpinBox(); |
| 789 | 783 | leanScale->setValue(applicationInstance->getAvatar()->getLeanScale()); |
| 790 | 784 | form->addRow("Lean Scale:", leanScale); |
| @@ -826,7 +820,6 @@ void Menu::editPreferences() { · 35 unmodified lines | ||
| 826 | 820 | |
| 827 | 821 | applicationInstance->getAvatar()->getHead().setPupilDilation(pupilDilation->value() / (float)pupilDilation->maximum()); |
| 828 | 822 | |
| 829 | − _gyroCameraSensitivity = gyroCameraSensitivity->value(); | |
| 830 | 823 | _maxVoxels = maxVoxels->value(); |
| 831 | 824 | applicationInstance->getVoxels()->setMaxVoxels(_maxVoxels); |
| 832 | 825 | |