aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-01-08 19:53:37 -0700
committerMcCabe Maxsted2010-01-08 20:20:35 -0700
commit543fbb612317e9687e2eaeb48c3346e891fc0508 (patch)
treebf5b4f828831dd8bd2b2e411628111e16ec67b28 /linden
parentApplied SNOW-378: debug setting to compile inventory scripts in Mono (diff)
downloadmeta-impy-543fbb612317e9687e2eaeb48c3346e891fc0508.zip
meta-impy-543fbb612317e9687e2eaeb48c3346e891fc0508.tar.gz
meta-impy-543fbb612317e9687e2eaeb48c3346e891fc0508.tar.bz2
meta-impy-543fbb612317e9687e2eaeb48c3346e891fc0508.tar.xz
Fixed options missing from Text Chat and Input & Camera preferences (see VWR-13120)
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llpanelinput.cpp4
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/panel_preferences_chat.xml16
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml23
3 files changed, 33 insertions, 10 deletions
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()
64 childSetValue("invert_mouse", gSavedSettings.getBOOL("InvertMouse")); 64 childSetValue("invert_mouse", gSavedSettings.getBOOL("InvertMouse"));
65 childSetValue("edit_camera_movement", gSavedSettings.getBOOL("EditCameraMovement")); 65 childSetValue("edit_camera_movement", gSavedSettings.getBOOL("EditCameraMovement"));
66 childSetValue("appearance_camera_movement", gSavedSettings.getBOOL("AppearanceCameraMovement")); 66 childSetValue("appearance_camera_movement", gSavedSettings.getBOOL("AppearanceCameraMovement"));
67 childSetValue("zoom_time", gSavedSettings.getF32("ZoomTime"));
68 childSetValue("camera_position_smoothing", gSavedSettings.getF32("CameraPositionSmoothing"));
67 childSetValue("first_person_avatar_visible", gSavedSettings.getBOOL("FirstPersonAvatarVisible")); 69 childSetValue("first_person_avatar_visible", gSavedSettings.getBOOL("FirstPersonAvatarVisible"));
68 70
69 LLSliderCtrl* fov_slider = getChild<LLSliderCtrl>("camera_fov"); 71 LLSliderCtrl* fov_slider = getChild<LLSliderCtrl>("camera_fov");
@@ -95,6 +97,8 @@ void LLPanelInput::apply()
95 gSavedSettings.setBOOL("EditCameraMovement", childGetValue("edit_camera_movement")); 97 gSavedSettings.setBOOL("EditCameraMovement", childGetValue("edit_camera_movement"));
96 gSavedSettings.setBOOL("AppearanceCameraMovement", childGetValue("appearance_camera_movement")); 98 gSavedSettings.setBOOL("AppearanceCameraMovement", childGetValue("appearance_camera_movement"));
97 gSavedSettings.setF32("CameraAngle", mPreAdjustFOV); 99 gSavedSettings.setF32("CameraAngle", mPreAdjustFOV);
100 gSavedSettings.setF32("ZoomTime", childGetValue("zoom_time").asReal());
101 gSavedSettings.setF32("CameraPositionSmoothing", childGetValue("camera_position_smoothing").asReal());
98 gSavedSettings.setBOOL("FirstPersonAvatarVisible", childGetValue("first_person_avatar_visible")); 102 gSavedSettings.setBOOL("FirstPersonAvatarVisible", childGetValue("first_person_avatar_visible"));
99 103
100 gSavedSettings.setString("DoubleClickAction", childGetValue("double_click_action")); 104 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 @@
32 </text> 32 </text>
33 <color_swatch border_color="0.45098 0.517647 0.607843 1" bottom="-108" 33 <color_swatch border_color="0.45098 0.517647 0.607843 1" bottom="-108"
34 can_apply_immediately="true" color="1 1 1 1" control_name="UserChatColor" 34 can_apply_immediately="true" color="1 1 1 1" control_name="UserChatColor"
35 enabled="true" follows="left|top" height="47" label="You" left="148" 35 enabled="true" follows="left|top" height="56" label="You" left="148"
36 mouse_opaque="true" name="user" width="54" /> 36 mouse_opaque="true" name="user" width="54" />
37 <color_swatch border_color="0.45098 0.517647 0.607843 1" bottom="-108" 37 <color_swatch border_color="0.45098 0.517647 0.607843 1" bottom="-108"
38 can_apply_immediately="true" color="1 1 1 1" control_name="AgentChatColor" 38 can_apply_immediately="true" color="1 1 1 1" control_name="AgentChatColor"
@@ -55,7 +55,7 @@
55 <color_swatch border_color="0.45098 0.517647 0.607843 1" bottom="-165" 55 <color_swatch border_color="0.45098 0.517647 0.607843 1" bottom="-165"
56 can_apply_immediately="true" color="0.7 0.9 0.7 1" 56 can_apply_immediately="true" color="0.7 0.9 0.7 1"
57 control_name="ObjectChatColor" enabled="true" follows="left|top" 57 control_name="ObjectChatColor" enabled="true" follows="left|top"
58 height="47" label="Objects" left="148" mouse_opaque="true" 58 height="56" label="Objects" left="148" mouse_opaque="true"
59 name="objects" width="54" /> 59 name="objects" width="54" />
60 <color_swatch border_color="0.45098 0.517647 0.607843 1" bottom="-165" 60 <color_swatch border_color="0.45098 0.517647 0.607843 1" bottom="-165"
61 can_apply_immediately="true" color="0.7 0.9 0.7 1" 61 can_apply_immediately="true" color="0.7 0.9 0.7 1"
@@ -77,7 +77,7 @@
77 enabled="true" follows="left|top" height="56" 77 enabled="true" follows="left|top" height="56"
78 label="URLs" left_delta="68" mouse_opaque="true" name="links" width="54" /> 78 label="URLs" left_delta="68" mouse_opaque="true" name="links" width="54" />
79 <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" 79 <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
80 bottom_delta="-28" drop_shadow_visible="true" enabled="true" follows="left|top" 80 bottom_delta="-25" drop_shadow_visible="true" enabled="true" follows="left|top"
81 font="SansSerifSmall" h_pad="0" halign="left" height="10" left="12" 81 font="SansSerifSmall" h_pad="0" halign="left" height="10" left="12"
82 mouse_opaque="false" name="text_box3" v_pad="0" width="135"> 82 mouse_opaque="false" name="text_box3" v_pad="0" width="135">
83 Chat Console: 83 Chat Console:
@@ -116,7 +116,7 @@
116 mouse_opaque="true" name="chat_full_width_check" radio_style="false" 116 mouse_opaque="true" name="chat_full_width_check" radio_style="false"
117 width="239" /> 117 width="239" />
118 <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" 118 <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
119 bottom_delta="-25" drop_shadow_visible="true" enabled="true" follows="left|top" 119 bottom_delta="-20" drop_shadow_visible="true" enabled="true" follows="left|top"
120 font="SansSerifSmall" h_pad="0" halign="left" height="10" left="12" 120 font="SansSerifSmall" h_pad="0" halign="left" height="10" left="12"
121 mouse_opaque="false" name="text_box6" v_pad="0" width="135"> 121 mouse_opaque="false" name="text_box6" v_pad="0" width="135">
122 Chat Options: 122 Chat Options:
@@ -134,20 +134,18 @@
134 follows="left|top" font="SansSerifSmall" height="16" initial_value="false" 134 follows="left|top" font="SansSerifSmall" height="16" initial_value="false"
135 label="Show timestamps in Local Chat" left="148" mouse_opaque="true" 135 label="Show timestamps in Local Chat" left="148" mouse_opaque="true"
136 name="show_timestamps_check" radio_style="false" width="237" /> 136 name="show_timestamps_check" radio_style="false" width="237" />
137 <check_box bottom_delta="-20" enabled="true" 137 <check_box bottom_delta="-18" control_name="ScriptErrorsAsChat" enabled="true"
138 <check_box bottom_delta="-20" control_name="ScriptErrorsAsChat" enabled="true"
139 follows="left|top" font="SansSerifSmall" height="16" initial_value="false" 138 follows="left|top" font="SansSerifSmall" height="16" initial_value="false"
140 label="Show script errors and warnings as regular chat" left="148" 139 label="Show script errors and warnings as regular chat" left="148"
141 mouse_opaque="true" name="script_errors_as_chat" radio_style="false" 140 mouse_opaque="true" name="script_errors_as_chat" radio_style="false"
142 width="275" /> 141 width="275" />
143 <check_box bottom_delta="-20" enabled="true"
144 <check_box bottom_delta="-18" enabled="true" 142 <check_box bottom_delta="-18" enabled="true"
145 follows="left|top" font="SansSerifSmall" height="16" initial_value="true" 143 follows="left|top" font="SansSerifSmall" height="16" initial_value="true"
146 label="Play typing animation when chatting" left="148" mouse_opaque="true" 144 label="Play typing animation when chatting" left="148" mouse_opaque="true"
147 name="play_typing_animation" radio_style="false" width="237" /> 145 name="play_typing_animation" radio_style="false" width="237" />
148 <check_box bottom_delta="-18" enabled="true" follows="left|top" 146 <check_box bottom_delta="-18" enabled="true" follows="left|top"
149 font="SansSerifSmall" height="16" initial_value="false" 147 font="SansSerifSmall" height="16" initial_value="false"
150 label="Show custom chat channel" left="148" mouse_opaque="true" 148 label="Show custom chat channel" left="148" mouse_opaque="true"
151 name="toggle_channel_control" radio_style="false" width="237" /> 149 name="toggle_channel_control" radio_style="false" width="237" />
152 <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" 150 <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
153 bottom="-379" drop_shadow_visible="true" enabled="true" follows="left|top" 151 bottom="-379" drop_shadow_visible="true" enabled="true" follows="left|top"
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml
index 79f775b..fa4f3a5 100644
--- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml
@@ -47,7 +47,7 @@
47 increment=".025" initial_val="1.57" left="276" max_val="2.97" min_val=".17" 47 increment=".025" initial_val="1.57" left="276" max_val="2.97" min_val=".17"
48 mouse_opaque="true" name="camera_fov" show_text="false" value="60" /> 48 mouse_opaque="true" name="camera_fov" show_text="false" value="60" />
49 <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" 49 <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
50 bottom_delta="-14" drop_shadow_visible="true" enabled="true" follows="left|top" 50 bottom_delta="-18" drop_shadow_visible="true" enabled="true" follows="left|top"
51 font="SansSerifSmall" h_pad="0" halign="left" height="10" left="148" 51 font="SansSerifSmall" h_pad="0" halign="left" height="10" left="148"
52 mouse_opaque="true" name="Camera Follow Distance:" v_pad="0" width="128"> 52 mouse_opaque="true" name="Camera Follow Distance:" v_pad="0" width="128">
53 Camera Follow Distance: 53 Camera Follow Distance:
@@ -57,6 +57,27 @@
57 increment=".025" initial_val="1" left="276" min_val=".5" max_val="3" 57 increment=".025" initial_val="1" left="276" min_val=".5" max_val="3"
58 mouse_opaque="true" name="camera_offset_scale" show_text="false" value="1" 58 mouse_opaque="true" name="camera_offset_scale" show_text="false" value="1"
59 width="128" /> 59 width="128" />
60 <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
61 bottom_delta="-18" drop_shadow_visible="true" enabled="true" follows="left|top"
62 font="SansSerifSmall" h_pad="0" halign="left" height="10" left="148"
63 mouse_opaque="true" name="Camera Transition Time:" v_pad="0" width="128">
64 Camera Transition Time:
65 </text>
66 <slider bottom_delta="-6" can_edit_text="true" decimal_digits="1"
67 enabled="true" follows="left|top" height="16" increment="0.1"
68 initial_val="0.4" left="276" max_val="4" min_val="0" mouse_opaque="true"
69 name="zoom_time" show_text="false" value="2" width="128" />
70 <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
71 bottom_delta="-18" drop_shadow_visible="true" enabled="true" follows="left|top"
72 font="SansSerifSmall" h_pad="0" halign="left" height="10" left="148"
73 mouse_opaque="true" name="Camera Smoothing:" v_pad="0" width="128">
74 Camera Smoothing:
75 </text>
76 <slider bottom_delta="-6" can_edit_text="true"
77 decimal_digits="1" enabled="true" follows="left|top" height="16"
78 increment="0.1" initial_val="1" left="276" max_val="9" min_val="0"
79 mouse_opaque="true" name="camera_position_smoothing" show_text="false" value="2"
80 width="128" />
60 <check_box bottom_delta="-24" enabled="true" 81 <check_box bottom_delta="-24" enabled="true"
61 follows="left|top" font="SansSerifSmall" height="16" initial_value="false" 82 follows="left|top" font="SansSerifSmall" height="16" initial_value="false"
62 label="Automatic Edit Camera Movement" left="148" mouse_opaque="true" 83 label="Automatic Edit Camera Movement" left="148" mouse_opaque="true"