diff options
author | simon <none@none> | 2013-10-17 14:58:27 -0700 |
---|---|---|
committer | simon <none@none> | 2013-10-17 14:58:27 -0700 |
commit | 8eb56668feb91032136ccfabee44c3ceb1d586b3 (patch) | |
tree | 6f9af5a2b90156cba0976f3e93648daf81855875 /indra/newview/llviewerobject.cpp | |
parent | 4621aedc37bd8ad4042fe29283a2309d94264938 (diff) |
SUN-69 MAINT-2258 : temp attachments getting removed improperly. Reviewed by Kelly.
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rwxr-xr-x | indra/newview/llviewerobject.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index 7151a0d6ed..1544e66431 100755 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -5879,6 +5879,13 @@ void LLViewerObject::resetChildrenPosition(const LLVector3& offset, BOOL simplif return ; } +// virtual +BOOL LLViewerObject::isTempAttachment() const +{ + return (mID.notNull() && (mID == mAttachmentItemID)); +} + + const LLUUID &LLViewerObject::getAttachmentItemID() const { return mAttachmentItemID; |