diff options
author | Oz Linden <oz@lindenlab.com> | 2015-02-27 09:03:04 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2015-02-27 09:03:04 -0500 |
commit | 83851db09ab0fecbb6722826055a55844fd98ea6 (patch) | |
tree | b3c73b1dec463e4d8a8a315f1d713a83e119d99b /indra/newview/llvoavatarself.cpp | |
parent | bdb42b4c716a374ab7a7b54a630ed5b5a481cdb2 (diff) | |
parent | d4a2e9fd9a0e7001a6c824ddd6cf37039a632b9d (diff) |
merge up to 3.7.25-release
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rwxr-xr-x | indra/newview/llvoavatarself.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index 3987d91c5d..35961968be 100755 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -754,6 +754,13 @@ void LLVOAvatarSelf::requestStopMotion(LLMotion* motion) } // virtual +bool LLVOAvatarSelf::hasMotionFromSource(const LLUUID& source_id) +{ + AnimSourceIterator motion_it = mAnimationSources.find(source_id); + return motion_it != mAnimationSources.end(); +} + +// virtual void LLVOAvatarSelf::stopMotionFromSource(const LLUUID& source_id) { for (AnimSourceIterator motion_it = mAnimationSources.find(source_id); motion_it != mAnimationSources.end(); ) @@ -762,6 +769,7 @@ void LLVOAvatarSelf::stopMotionFromSource(const LLUUID& source_id) mAnimationSources.erase(motion_it++); } + LLViewerObject* object = gObjectList.findObject(source_id); if (object) { |