summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorSam Kolb <skolb@lindenlab.com>2007-08-30 22:11:52 +0000
committerSam Kolb <skolb@lindenlab.com>2007-08-30 22:11:52 +0000
commitb2595c369f78b6613e329274f5ca7c43c4ddeda0 (patch)
tree4db6ae8237692b570b6e5dad489f3da24c5aa3fe /indra/newview/llviewerobject.cpp
parent84ea29c69c320573c7547f028b5325382e195cc6 (diff)
Merge sl-search-opt-in back into the release branch
Reviewed by Josh and Don
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 2d39bec6a7..fb8d7af004 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -4671,6 +4671,23 @@ void LLViewerObject::markForUpdate(BOOL priority)
}
}
+bool LLViewerObject::getIncludeInSearch() const
+{
+ return ((mFlags & FLAGS_INCLUDE_IN_SEARCH) != 0);
+}
+
+void LLViewerObject::setIncludeInSearch(bool include_in_search)
+{
+ if (include_in_search)
+ {
+ mFlags |= FLAGS_INCLUDE_IN_SEARCH;
+ }
+ else
+ {
+ mFlags &= ~FLAGS_INCLUDE_IN_SEARCH;
+ }
+}
+
void LLViewerObject::setRegion(LLViewerRegion *regionp)
{
llassert(regionp);