summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-12-08 16:29:02 -0800
committerJames Cook <james@lindenlab.com>2009-12-08 16:29:02 -0800
commit8b514c721afd0934450242b367e836739f5abadf (patch)
treea94886f2c9f0b6438eab7c97be0732aba7b774db /indra/newview/llviewermenu.cpp
parent85272b3d69b981329143cf40a28022a903a0ae9d (diff)
parenta65473957f16f9cfba8ed10b87218d65d64519ef (diff)
Merge backout
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index 2353484ece..431b4d3c0a 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -2310,12 +2310,6 @@ class LLObjectEnableReportAbuse : public view_listener_t
bool handleEvent(const LLSD& userdata)
{
bool new_value = LLSelectMgr::getInstance()->getSelection()->getObjectCount() != 0;
-/* // all the faces needs to be selected
- if(LLSelectMgr::getInstance()->getSelection()->contains(LLSelectMgr::getInstance()->getSelection()->getPrimaryObject(),SELECT_ALL_TES ))
- {
- new_value = true;
- }
- */
return new_value;
}
};
@@ -2704,7 +2698,6 @@ BOOL enable_has_attachments(void*)
bool enable_object_mute()
{
LLViewerObject* object = LLSelectMgr::getInstance()->getSelection()->getPrimaryObject();
-
bool new_value = (object != NULL);
if (new_value)
{
@@ -2717,19 +2710,6 @@ bool enable_object_mute()
BOOL is_self = avatar->isSelf();
new_value = !is_linden && !is_self;
}
- else
- {
- if( LLSelectMgr::getInstance()->getSelection()->contains(object,SELECT_ALL_TES ))
- {
- new_value = true;
- }
- else
- {
- new_value = false;
- }
-
- }
-
}
return new_value;
}