aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelaudioprefs.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanelaudioprefs.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/linden/indra/newview/llpanelaudioprefs.cpp b/linden/indra/newview/llpanelaudioprefs.cpp
index 2bb3ab4..d4c8e9f 100644
--- a/linden/indra/newview/llpanelaudioprefs.cpp
+++ b/linden/indra/newview/llpanelaudioprefs.cpp
@@ -42,7 +42,7 @@
42#include "llfontgl.h" 42#include "llfontgl.h"
43 43
44// project includes 44// project includes
45#include "audioengine.h" 45#include "llaudioengine.h"
46#include "llbutton.h" 46#include "llbutton.h"
47#include "llcheckboxctrl.h" 47#include "llcheckboxctrl.h"
48#include "llcombobox.h" 48#include "llcombobox.h"
@@ -105,7 +105,6 @@ void LLPanelAudioPrefs::refreshValues()
105 mPreviousMusicVolume = gSavedSettings.getF32("AudioLevelMusic"); 105 mPreviousMusicVolume = gSavedSettings.getF32("AudioLevelMusic");
106 mPreviousMediaVolume = gSavedSettings.getF32("AudioLevelMedia"); 106 mPreviousMediaVolume = gSavedSettings.getF32("AudioLevelMedia");
107 mPreviousDoppler = gSavedSettings.getF32("AudioLevelDoppler"); 107 mPreviousDoppler = gSavedSettings.getF32("AudioLevelDoppler");
108 mPreviousDistance = gSavedSettings.getF32("AudioLevelDistance");
109 mPreviousRolloff = gSavedSettings.getF32("AudioLevelRolloff"); 108 mPreviousRolloff = gSavedSettings.getF32("AudioLevelRolloff");
110 109
111 mPreviousMoneyThreshold = gSavedSettings.getF32("UISndMoneyChangeThreshold"); 110 mPreviousMoneyThreshold = gSavedSettings.getF32("UISndMoneyChangeThreshold");
@@ -134,7 +133,6 @@ void LLPanelAudioPrefs::cancel()
134 gSavedSettings.setF32("AudioLevelMusic", mPreviousMusicVolume); 133 gSavedSettings.setF32("AudioLevelMusic", mPreviousMusicVolume);
135 gSavedSettings.setF32("AudioLevelMedia", mPreviousMediaVolume); 134 gSavedSettings.setF32("AudioLevelMedia", mPreviousMediaVolume);
136 gSavedSettings.setF32("AudioLevelDoppler", mPreviousDoppler ); 135 gSavedSettings.setF32("AudioLevelDoppler", mPreviousDoppler );
137 gSavedSettings.setF32("AudioLevelDistance", mPreviousDistance );
138 gSavedSettings.setF32("AudioLevelRolloff", mPreviousRolloff ); 136 gSavedSettings.setF32("AudioLevelRolloff", mPreviousRolloff );
139 137
140 gSavedSettings.setF32("UISndMoneyChangeThreshold", mPreviousMoneyThreshold ); 138 gSavedSettings.setF32("UISndMoneyChangeThreshold", mPreviousMoneyThreshold );