diff options
| author | andreykproductengine <akleshchev@productengine.com> | 2014-09-30 20:02:33 +0300 |
|---|---|---|
| committer | andreykproductengine <akleshchev@productengine.com> | 2014-09-30 20:02:33 +0300 |
| commit | caaa711c6a4e56795b1fd08f0585cedba3e4212c (patch) | |
| tree | ba48d037229553daf1a8f065788d7cdf1cc48bad /indra/newview/llvoavatarself.cpp | |
| parent | 1edf45f33b52b2f7e86d0e9b58fa7373e4870f5a (diff) | |
MAINT-4448 FIXED Avatar often stops animating when being animated by an intan solo dance ball on Interesting based viewers only.
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 42a7c2e576..02494d5091 100755 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -749,6 +749,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(); ) @@ -757,6 +764,7 @@ void LLVOAvatarSelf::stopMotionFromSource(const LLUUID& source_id) mAnimationSources.erase(motion_it++); } + LLViewerObject* object = gObjectList.findObject(source_id); if (object) { |
