diff options
Diffstat (limited to 'linden/indra/newview/llpanelinput.cpp')
-rw-r--r-- | linden/indra/newview/llpanelinput.cpp | 5 |
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 | ||
117 | void LLPanelInput::apply() | 121 | void 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 | ||