diff options
author | McCabe Maxsted | 2010-04-25 18:40:56 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-04-25 18:40:56 -0700 |
commit | f7abb0c840abda034464776b020218bfe315996d (patch) | |
tree | 467b8b54c9b3c1c003e4093de91597047c6543a8 /linden/indra/newview/llprefsadvanced.cpp | |
parent | Fixed animation list (diff) | |
download | meta-impy-f7abb0c840abda034464776b020218bfe315996d.zip meta-impy-f7abb0c840abda034464776b020218bfe315996d.tar.gz meta-impy-f7abb0c840abda034464776b020218bfe315996d.tar.bz2 meta-impy-f7abb0c840abda034464776b020218bfe315996d.tar.xz |
Added preferences options for SpeedRez
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 |