aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorelektrahesse2010-09-27 14:05:15 +0200
committerelektrahesse2010-09-27 14:05:15 +0200
commitb0bc29569cacfcd4fd661f6dd9e32364ebfbf243 (patch)
tree0af5d17a0ee910959e64b26f5ca2573fc269c0ff /linden/indra/newview/llviewermenu.cpp
parentChanges the search system, so it matches the keyword against name or surname ... (diff)
parentConverted XUI files to unix line endings, again. (diff)
downloadmeta-impy-b0bc29569cacfcd4fd661f6dd9e32364ebfbf243.zip
meta-impy-b0bc29569cacfcd4fd661f6dd9e32364ebfbf243.tar.gz
meta-impy-b0bc29569cacfcd4fd661f6dd9e32364ebfbf243.tar.bz2
meta-impy-b0bc29569cacfcd4fd661f6dd9e32364ebfbf243.tar.xz
Merge branch 'weekly' of git://github.com/mccabe/imprudence into weekly
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r--linden/indra/newview/llviewermenu.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index 026f652..e109673 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -7509,7 +7509,9 @@ class LLViewEnableMouselook : public view_listener_t
7509 { 7509 {
7510 // You can't go directly from customize avatar to mouselook. 7510 // You can't go directly from customize avatar to mouselook.
7511 // TODO: write code with appropriate dialogs to handle this transition. 7511 // TODO: write code with appropriate dialogs to handle this transition.
7512 bool new_value = (CAMERA_MODE_CUSTOMIZE_AVATAR != gAgent.getCameraMode() && !gSavedSettings.getBOOL("FreezeTime")); 7512 static BOOL* sFreezeTime = rebind_llcontrol<BOOL>("FreezeTime", &gSavedSettings, true);
7513
7514 bool new_value = (CAMERA_MODE_CUSTOMIZE_AVATAR != gAgent.getCameraMode() && !(*sFreezeTime));
7513 gMenuHolder->findControl(userdata["control"].asString())->setValue(new_value); 7515 gMenuHolder->findControl(userdata["control"].asString())->setValue(new_value);
7514 return true; 7516 return true;
7515 } 7517 }