From 0c19b16266df155b4fc288c5e6671fe4382548f0 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Fri, 23 Jun 2017 20:34:02 +0300 Subject: MAINT-7065 Better information on animations running on the logged-in Avatar --- indra/newview/llpreviewanim.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'indra/newview/llpreviewanim.cpp') diff --git a/indra/newview/llpreviewanim.cpp b/indra/newview/llpreviewanim.cpp index fb40af1302..12ac9e6fc5 100644 --- a/indra/newview/llpreviewanim.cpp +++ b/indra/newview/llpreviewanim.cpp @@ -148,6 +148,12 @@ void LLPreviewAnim::draw() } if(gAgentAvatarp->isMotionActive(this->mItemID) && !this->mDidStart) { + const LLInventoryItem *item = getItem(); + LLMotion* motion = gAgentAvatarp->findMotion(this->mItemID); + if (item && motion) + { + motion->setName(item->getName()); + } this->mDidStart = true; } } -- cgit v1.2.3