diff options
Diffstat (limited to 'linden/indra/newview/llprefsadvanced.cpp')
-rw-r--r-- | linden/indra/newview/llprefsadvanced.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/llprefsadvanced.cpp b/linden/indra/newview/llprefsadvanced.cpp index 12d0823..394c325 100644 --- a/linden/indra/newview/llprefsadvanced.cpp +++ b/linden/indra/newview/llprefsadvanced.cpp | |||
@@ -51,6 +51,8 @@ BOOL LLPrefsAdvanced::postBuild() | |||
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 | childSetValue("http_texture_check", gSavedSettings.getBOOL("ImagePipelineUseHTTP")); |
54 | childSetValue("speedrez_check", gSavedSettings.getBOOL("SpeedRez")); | ||
55 | childSetValue("speedrez_spinner", (F32)gSavedSettings.getU32("SpeedRezInterval")); | ||
54 | 56 | ||
55 | return TRUE; | 57 | return TRUE; |
56 | } | 58 | } |
@@ -61,6 +63,8 @@ void LLPrefsAdvanced::apply() | |||
61 | gSavedSettings.setBOOL("DisableTeleportScreens", childGetValue("disable_tp_screen_check")); | 63 | gSavedSettings.setBOOL("DisableTeleportScreens", childGetValue("disable_tp_screen_check")); |
62 | gSavedSettings.setBOOL("ClothingLayerProtection", childGetValue("client_name_tag_check")); | 64 | gSavedSettings.setBOOL("ClothingLayerProtection", childGetValue("client_name_tag_check")); |
63 | gSavedSettings.setBOOL("ImagePipelineUseHTTP", childGetValue("http_texture_check")); | 65 | gSavedSettings.setBOOL("ImagePipelineUseHTTP", childGetValue("http_texture_check")); |
66 | gSavedSettings.setBOOL("SpeedRez", childGetValue("speedrez_check")); | ||
67 | gSavedSettings.setU32("SpeedRezInterval", childGetValue("speedrez_spinner").asReal()); | ||
64 | 68 | ||
65 | // This is bad bad BAD UI from Emerald, I know. | 69 | // This is bad bad BAD UI from Emerald, I know. |
66 | // If anyone wants to do this better, please do -- MC | 70 | // If anyone wants to do this better, please do -- MC |