aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-10-04 16:29:33 -0700
committerMcCabe Maxsted2009-10-04 16:29:33 -0700
commita7c3120b5c2fb799b3e1308a9a623e7e043db3ea (patch)
treed78cb8cdc73d976f3930f9506e996fe9ed361a92 /linden/indra/newview/llviewermenu.cpp
parentFixed mini-map distance label and rounding (diff)
parenter ... offtopic: add ctrl-alt-shift-d as shortcut to toggle advanced for linux (diff)
downloadmeta-impy-a7c3120b5c2fb799b3e1308a9a623e7e043db3ea.zip
meta-impy-a7c3120b5c2fb799b3e1308a9a623e7e043db3ea.tar.gz
meta-impy-a7c3120b5c2fb799b3e1308a9a623e7e043db3ea.tar.bz2
meta-impy-a7c3120b5c2fb799b3e1308a9a623e7e043db3ea.tar.xz
Merge commit 'armin/logoutbugs' into 1.2.0-logoutbugs
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r--linden/indra/newview/llviewermenu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index d11bc02..a7768ba 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -6334,6 +6334,8 @@ class LLAttachmentEnableDrop : public view_listener_t
6334{ 6334{
6335 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) 6335 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
6336 { 6336 {
6337 if (gDisconnected)
6338 return true;
6337 LLParcel* parcel = LLViewerParcelMgr::getInstance()->getAgentParcel(); 6339 LLParcel* parcel = LLViewerParcelMgr::getInstance()->getAgentParcel();
6338 BOOL can_build = gAgent.isGodlike() || (parcel && parcel->getAllowModify()); 6340 BOOL can_build = gAgent.isGodlike() || (parcel && parcel->getAllowModify());
6339 6341
@@ -6384,7 +6386,6 @@ class LLAttachmentEnableDrop : public view_listener_t
6384// [RLVa:KB] - Checked: 2009-07-05 (RLVa-1.0.0b) 6386// [RLVa:KB] - Checked: 2009-07-05 (RLVa-1.0.0b)
6385 bool new_value = enable_detach(NULL) && can_build && item && (!gRlvHandler.hasBehaviour(RLV_BHVR_REZ)); 6387 bool new_value = enable_detach(NULL) && can_build && item && (!gRlvHandler.hasBehaviour(RLV_BHVR_REZ));
6386// [/RLVa:KB] 6388// [/RLVa:KB]
6387
6388 gMenuHolder->findControl(userdata["control"].asString())->setValue(new_value); 6389 gMenuHolder->findControl(userdata["control"].asString())->setValue(new_value);
6389 return true; 6390 return true;
6390 } 6391 }