summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2011-01-13 10:28:15 -0500
committerLoren Shih <seraph@lindenlab.com>2011-01-13 10:28:15 -0500
commit584c7ecb4ed02e9ab039c6254ffc33331c31058c (patch)
tree19e34f57dc625da58f03e4eb659b721e38f072a7 /indra/newview/llviewermenu.cpp
parente7f068c37ef18315a11f1054bfd095b3420025aa (diff)
parent55322713fc071a3e171fd4cfbea989945dc8d084 (diff)
Automated merge up from viewer-development
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index 75531cef8d..0f980986d3 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -4204,9 +4204,9 @@ class LLObjectEnableReturn : public view_listener_t
{
virtual bool apply(LLViewerObject* obj)
{
- return (obj->isOverAgentOwnedLand() ||
- obj->isOverGroupOwnedLand() ||
- obj->permModify());
+ return
+ obj->permModify() ||
+ obj->isReturnable();
}
} func;
const bool firstonly = true;