aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-04-22 12:57:48 -0700
committerMcCabe Maxsted2010-04-22 12:57:48 -0700
commitf3273decb76a59cc334ef93ec57a168ce8e5f07a (patch)
tree4fcd24e832863f608a9d29b64c924ad1ad69ce25 /linden
parentUpdated .gitignore to ignore all mozilla folders in app_settings (diff)
downloadmeta-impy-f3273decb76a59cc334ef93ec57a168ce8e5f07a.zip
meta-impy-f3273decb76a59cc334ef93ec57a168ce8e5f07a.tar.gz
meta-impy-f3273decb76a59cc334ef93ec57a168ce8e5f07a.tar.bz2
meta-impy-f3273decb76a59cc334ef93ec57a168ce8e5f07a.tar.xz
Added checkbox in preferences > advanced for http textures
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llprefsadvanced.cpp2
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml6
2 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/newview/llprefsadvanced.cpp b/linden/indra/newview/llprefsadvanced.cpp
index 88f066c..12d0823 100644
--- a/linden/indra/newview/llprefsadvanced.cpp
+++ b/linden/indra/newview/llprefsadvanced.cpp
@@ -50,6 +50,7 @@ BOOL LLPrefsAdvanced::postBuild()
50 childSetValue("disable_log_screen_check", gSavedSettings.getBOOL("DisableLoginLogoutScreens")); 50 childSetValue("disable_log_screen_check", gSavedSettings.getBOOL("DisableLoginLogoutScreens"));
51 childSetValue("disable_tp_screen_check", gSavedSettings.getBOOL("DisableTeleportScreens")); 51 childSetValue("disable_tp_screen_check", gSavedSettings.getBOOL("DisableTeleportScreens"));
52 childSetValue("client_name_tag_check", gSavedSettings.getBOOL("ClothingLayerProtection")); 52 childSetValue("client_name_tag_check", gSavedSettings.getBOOL("ClothingLayerProtection"));
53 childSetValue("http_texture_check", gSavedSettings.getBOOL("ImagePipelineUseHTTP"));
53 54
54 return TRUE; 55 return TRUE;
55} 56}
@@ -59,6 +60,7 @@ void LLPrefsAdvanced::apply()
59 gSavedSettings.setBOOL("DisableLoginLogoutScreens", childGetValue("disable_log_screen_check")); 60 gSavedSettings.setBOOL("DisableLoginLogoutScreens", childGetValue("disable_log_screen_check"));
60 gSavedSettings.setBOOL("DisableTeleportScreens", childGetValue("disable_tp_screen_check")); 61 gSavedSettings.setBOOL("DisableTeleportScreens", childGetValue("disable_tp_screen_check"));
61 gSavedSettings.setBOOL("ClothingLayerProtection", childGetValue("client_name_tag_check")); 62 gSavedSettings.setBOOL("ClothingLayerProtection", childGetValue("client_name_tag_check"));
63 gSavedSettings.setBOOL("ImagePipelineUseHTTP", childGetValue("http_texture_check"));
62 64
63 // This is bad bad BAD UI from Emerald, I know. 65 // This is bad bad BAD UI from Emerald, I know.
64 // If anyone wants to do this better, please do -- MC 66 // If anyone wants to do this better, please do -- MC
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml
index 39a3111..e889026 100644
--- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml
@@ -5,7 +5,7 @@
5 5
6 <!-- Start organizing these when we get enough of 'em - MC --> 6 <!-- Start organizing these when we get enough of 'em - MC -->
7 7
8 <check_box bottom="-20" enabled="true" 8 <check_box bottom="-30" enabled="true"
9 follows="left|top" font="SansSerifSmall" height="16" 9 follows="left|top" font="SansSerifSmall" height="16"
10 initial_value="false" label="Disable Login/Logout Screens" left="12" 10 initial_value="false" label="Disable Login/Logout Screens" left="12"
11 mouse_opaque="true" name="disable_log_screen_check" radio_style="false" 11 mouse_opaque="true" name="disable_log_screen_check" radio_style="false"
@@ -22,4 +22,8 @@
22 font="SansSerifSmall" height="16" initial_value="false" 22 font="SansSerifSmall" height="16" initial_value="false"
23 label="Enable Shadows (WARNING: unstable and requires Ultra graphics)" left="12" mouse_opaque="true" 23 label="Enable Shadows (WARNING: unstable and requires Ultra graphics)" left="12" mouse_opaque="true"
24 name="shadows_check" radio_style="false" width="217" /> 24 name="shadows_check" radio_style="false" width="217" />
25 <check_box bottom_delta="-18" enabled="true" follows="left|top"
26 font="SansSerifSmall" height="16" initial_value="false"
27 label="Use HTTP Textures" left="12" mouse_opaque="true"
28 name="http_texture_check" radio_style="false" width="217" />
25</panel> 29</panel>