aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelinput.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llpanelinput.cpp
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanelinput.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llpanelinput.cpp b/linden/indra/newview/llpanelinput.cpp
index 77ebec9..7fac7f8 100644
--- a/linden/indra/newview/llpanelinput.cpp
+++ b/linden/indra/newview/llpanelinput.cpp
@@ -84,6 +84,7 @@ BOOL LLPanelInput::postBuild()
84 requires("dynamic camera", WIDGET_TYPE_SLIDER); 84 requires("dynamic camera", WIDGET_TYPE_SLIDER);
85 requires("edit camera movement", WIDGET_TYPE_CHECKBOX); 85 requires("edit camera movement", WIDGET_TYPE_CHECKBOX);
86 requires("appearance camera movement", WIDGET_TYPE_CHECKBOX); 86 requires("appearance camera movement", WIDGET_TYPE_CHECKBOX);
87 requires("avfp", WIDGET_TYPE_CHECKBOX);
87 88
88 if (!checkRequirements()) 89 if (!checkRequirements())
89 { 90 {
@@ -112,6 +113,9 @@ void LLPanelInput::refresh()
112 mAppearanceCameraMovement = gSavedSettings.getBOOL("AppearanceCameraMovement"); 113 mAppearanceCameraMovement = gSavedSettings.getBOOL("AppearanceCameraMovement");
113 mDynamicCameraStrengthVal = gSavedSettings.getF32("DynamicCameraStrength"); 114 mDynamicCameraStrengthVal = gSavedSettings.getF32("DynamicCameraStrength");
114 mNumpadControlVal = gSavedSettings.getS32("NumpadControl"); 115 mNumpadControlVal = gSavedSettings.getS32("NumpadControl");
116
117 // First Person Visibility
118 mFirstPersonAvatarVisible = gSavedSettings.getBOOL("FirstPersonAvatarVisible");
115} 119}
116 120
117void LLPanelInput::apply() 121void LLPanelInput::apply()
@@ -128,5 +132,6 @@ void LLPanelInput::cancel()
128 gSavedSettings.setBOOL("AppearanceCameraMovement", mAppearanceCameraMovement); 132 gSavedSettings.setBOOL("AppearanceCameraMovement", mAppearanceCameraMovement);
129 gSavedSettings.setF32("DynamicCameraStrength", mDynamicCameraStrengthVal); 133 gSavedSettings.setF32("DynamicCameraStrength", mDynamicCameraStrengthVal);
130 gSavedSettings.setS32("NumpadControl", mNumpadControlVal); 134 gSavedSettings.setS32("NumpadControl", mNumpadControlVal);
135 gSavedSettings.setBOOL("FirstPersonAvatarVisible", mFirstPersonAvatarVisible);
131} 136}
132 137