From e8a196f5fff37a9f2aa2bd5b3a7500682aeb8ce7 Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Sat, 16 May 2015 08:18:19 -0400 Subject: SL-111 WIP - animation dumping/logging --- indra/newview/llpreviewanim.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'indra/newview/llpreviewanim.cpp') diff --git a/indra/newview/llpreviewanim.cpp b/indra/newview/llpreviewanim.cpp index 35ac0537a3..6c5b82b62e 100755 --- a/indra/newview/llpreviewanim.cpp +++ b/indra/newview/llpreviewanim.cpp @@ -37,6 +37,7 @@ #include "lllineeditor.h" #include "lluictrlfactory.h" #include "lluictrlfactory.h" +#include "lldatapacker.h" extern LLAgent gAgent; @@ -109,6 +110,12 @@ void LLPreviewAnim::play(const LLSD& param) } else { + // FIXME BENTO - TEMP HACK TO DUMP AS FILE + LLKeyframeMotion *motionp = dynamic_cast(gAgentAvatarp->findMotion(itemID)); + if (motionp && motionp->isLoaded()) + { + motionp->dumpToFile(item->getName()); + } gAgentAvatarp->startMotion(item->getAssetUUID()); } -- cgit v1.2.3 From 932412e1dbc2d684970a1398e140f7d2757e0440 Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Wed, 12 Aug 2015 11:17:23 -0400 Subject: SL-109 WIP - code cleanup --- indra/newview/llpreviewanim.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'indra/newview/llpreviewanim.cpp') diff --git a/indra/newview/llpreviewanim.cpp b/indra/newview/llpreviewanim.cpp index 6c5b82b62e..f83532ea83 100755 --- a/indra/newview/llpreviewanim.cpp +++ b/indra/newview/llpreviewanim.cpp @@ -110,12 +110,13 @@ void LLPreviewAnim::play(const LLSD& param) } else { - // FIXME BENTO - TEMP HACK TO DUMP AS FILE + // BENTO TEMP LLKeyframeMotion *motionp = dynamic_cast(gAgentAvatarp->findMotion(itemID)); if (motionp && motionp->isLoaded()) { - motionp->dumpToFile(item->getName()); + //motionp->dumpToFile(item->getName()); } + gAgentAvatarp->startMotion(item->getAssetUUID()); } -- cgit v1.2.3 From 7b410df303d37a800ddd0024932729a574a00860 Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Wed, 25 Nov 2015 15:07:26 -0500 Subject: SL-124 WIP - cleanup of comments and test code before going to project viewer. --- indra/newview/llpreviewanim.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'indra/newview/llpreviewanim.cpp') diff --git a/indra/newview/llpreviewanim.cpp b/indra/newview/llpreviewanim.cpp index f83532ea83..fb40af1302 100755 --- a/indra/newview/llpreviewanim.cpp +++ b/indra/newview/llpreviewanim.cpp @@ -110,13 +110,6 @@ void LLPreviewAnim::play(const LLSD& param) } else { - // BENTO TEMP - LLKeyframeMotion *motionp = dynamic_cast(gAgentAvatarp->findMotion(itemID)); - if (motionp && motionp->isLoaded()) - { - //motionp->dumpToFile(item->getName()); - } - gAgentAvatarp->startMotion(item->getAssetUUID()); } -- cgit v1.2.3