From 543fbb612317e9687e2eaeb48c3346e891fc0508 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Fri, 8 Jan 2010 19:53:37 -0700 Subject: Fixed options missing from Text Chat and Input & Camera preferences (see VWR-13120) --- linden/indra/newview/llpanelinput.cpp | 4 ++++ .../default/xui/en-us/panel_preferences_chat.xml | 16 +++++++-------- .../default/xui/en-us/panel_preferences_input.xml | 23 +++++++++++++++++++++- 3 files changed, 33 insertions(+), 10 deletions(-) (limited to 'linden') diff --git a/linden/indra/newview/llpanelinput.cpp b/linden/indra/newview/llpanelinput.cpp index 4b94435..d530d67 100644 --- a/linden/indra/newview/llpanelinput.cpp +++ b/linden/indra/newview/llpanelinput.cpp @@ -64,6 +64,8 @@ BOOL LLPanelInput::postBuild() childSetValue("invert_mouse", gSavedSettings.getBOOL("InvertMouse")); childSetValue("edit_camera_movement", gSavedSettings.getBOOL("EditCameraMovement")); childSetValue("appearance_camera_movement", gSavedSettings.getBOOL("AppearanceCameraMovement")); + childSetValue("zoom_time", gSavedSettings.getF32("ZoomTime")); + childSetValue("camera_position_smoothing", gSavedSettings.getF32("CameraPositionSmoothing")); childSetValue("first_person_avatar_visible", gSavedSettings.getBOOL("FirstPersonAvatarVisible")); LLSliderCtrl* fov_slider = getChild("camera_fov"); @@ -95,6 +97,8 @@ void LLPanelInput::apply() gSavedSettings.setBOOL("EditCameraMovement", childGetValue("edit_camera_movement")); gSavedSettings.setBOOL("AppearanceCameraMovement", childGetValue("appearance_camera_movement")); gSavedSettings.setF32("CameraAngle", mPreAdjustFOV); + gSavedSettings.setF32("ZoomTime", childGetValue("zoom_time").asReal()); + gSavedSettings.setF32("CameraPositionSmoothing", childGetValue("camera_position_smoothing").asReal()); gSavedSettings.setBOOL("FirstPersonAvatarVisible", childGetValue("first_person_avatar_visible")); gSavedSettings.setString("DoubleClickAction", childGetValue("double_click_action")); diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_chat.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_chat.xml index e9ab27c..547b547 100644 --- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_chat.xml +++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_chat.xml @@ -32,7 +32,7 @@ Chat Console: @@ -116,7 +116,7 @@ mouse_opaque="true" name="chat_full_width_check" radio_style="false" width="239" /> Chat Options: @@ -134,20 +134,18 @@ follows="left|top" font="SansSerifSmall" height="16" initial_value="false" label="Show timestamps in Local Chat" left="148" mouse_opaque="true" name="show_timestamps_check" radio_style="false" width="237" /> - - - Camera Follow Distance: @@ -57,6 +57,27 @@ increment=".025" initial_val="1" left="276" min_val=".5" max_val="3" mouse_opaque="true" name="camera_offset_scale" show_text="false" value="1" width="128" /> + + Camera Transition Time: + + + + Camera Smoothing: + +