diff options
author | McCabe Maxsted | 2009-10-04 16:29:33 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-10-04 16:29:33 -0700 |
commit | a7c3120b5c2fb799b3e1308a9a623e7e043db3ea (patch) | |
tree | d78cb8cdc73d976f3930f9506e996fe9ed361a92 /linden/indra/newview | |
parent | Fixed mini-map distance label and rounding (diff) | |
parent | er ... offtopic: add ctrl-alt-shift-d as shortcut to toggle advanced for linux (diff) | |
download | meta-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')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 3 | ||||
-rw-r--r-- | linden/indra/newview/llviewerregion.cpp | 6 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | 4 |
3 files changed, 10 insertions, 3 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 | } |
diff --git a/linden/indra/newview/llviewerregion.cpp b/linden/indra/newview/llviewerregion.cpp index 0ba0879..2179c0b 100644 --- a/linden/indra/newview/llviewerregion.cpp +++ b/linden/indra/newview/llviewerregion.cpp | |||
@@ -917,10 +917,12 @@ bool LLViewerRegion::isAlive() | |||
917 | 917 | ||
918 | BOOL LLViewerRegion::isOwnedSelf(const LLVector3& pos) | 918 | BOOL LLViewerRegion::isOwnedSelf(const LLVector3& pos) |
919 | { | 919 | { |
920 | if (mParcelOverlay) | 920 | if (mParcelOverlay && !gDisconnected) |
921 | { | 921 | { |
922 | return mParcelOverlay->isOwnedSelf(pos); | 922 | return mParcelOverlay->isOwnedSelf(pos); |
923 | } else { | 923 | } |
924 | else | ||
925 | { | ||
924 | return FALSE; | 926 | return FALSE; |
925 | } | 927 | } |
926 | } | 928 | } |
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml index 9da0ec5..1a486e4 100644 --- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml +++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | |||
@@ -421,6 +421,10 @@ | |||
421 | <on_click function="View.ToggleAdvanced" userdata="" /> | 421 | <on_click function="View.ToggleAdvanced" userdata="" /> |
422 | <on_check function="View.CheckAdvanced" /> | 422 | <on_check function="View.CheckAdvanced" /> |
423 | </menu_item_check> | 423 | </menu_item_check> |
424 | <menu_item_check shortcut="control|alt|shift|D"> | ||
425 | <on_click function="View.ToggleAdvanced" userdata="" /> | ||
426 | <on_check function="View.CheckAdvanced" /> | ||
427 | </menu_item_check> | ||
424 | </menu> | 428 | </menu> |
425 | 429 | ||
426 | 430 | ||