summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-05-07 15:10:50 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-05-07 15:10:50 -0400
commit9e5fe84c9e6f6027878d70350c8f60e4c2be7e48 (patch)
tree3309f360e02cd2c3d823076ead72f7a35f38c25c /indra/newview
parent6081ad52c3711010e03c26679849921d4e5968bc (diff)
For EXT-6953: Evaluate and implement Richard's improved default animations. Cleanup and log spam reduction.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llappviewer.cpp8
-rw-r--r--indra/newview/llvoavatar.cpp27
-rw-r--r--indra/newview/llvoavatar.h1
3 files changed, 18 insertions, 18 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index b78d968e0e..c013831c83 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -3243,11 +3243,11 @@ bool LLAppViewer::initCache()
{
LLVFile::initClass();
- llinfos << "======= Static VFS listing ========" << llendl;
- gStaticVFS->listFiles();
+ //llinfos << "======= Static VFS listing ========" << llendl;
+ //gStaticVFS->listFiles();
- llinfos << "========= regular VFS listing =====" << llendl;
- gVFS->listFiles();
+ //llinfos << "========= regular VFS listing =====" << llendl;
+ //gVFS->listFiles();
return true;
}
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 3e6ec21017..b94fc3021c 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -2137,23 +2137,26 @@ S32 LLVOAvatar::setTETexture(const U8 te, const LLUUID& uuid)
static LLFastTimer::DeclareTimer FTM_AVATAR_UPDATE("Update Avatar");
static LLFastTimer::DeclareTimer FTM_JOINT_UPDATE("Update Joints");
-void dumpAnimationState(LLVOAvatar *self)
+//------------------------------------------------------------------------
+// LLVOAvatar::dumpAnimationState()
+//------------------------------------------------------------------------
+void LLVOAvatar::dumpAnimationState()
{
llinfos << "==============================================" << llendl;
- for (LLVOAvatar::AnimIterator it = self->mSignaledAnimations.begin(); it != self->mSignaledAnimations.end(); ++it)
+ for (LLVOAvatar::AnimIterator it = mSignaledAnimations.begin(); it != mSignaledAnimations.end(); ++it)
{
LLUUID id = it->first;
std::string playtag = "";
- if (self->mPlayingAnimations.find(id) != self->mPlayingAnimations.end())
+ if (mPlayingAnimations.find(id) != mPlayingAnimations.end())
{
playtag = "*";
}
llinfos << animationName(id) << playtag << llendl;
}
- for (LLVOAvatar::AnimIterator it = self->mPlayingAnimations.begin(); it != self->mPlayingAnimations.end(); ++it)
+ for (LLVOAvatar::AnimIterator it = mPlayingAnimations.begin(); it != mPlayingAnimations.end(); ++it)
{
LLUUID id = it->first;
- bool is_signaled = self->mSignaledAnimations.find(id) != self->mSignaledAnimations.end();
+ bool is_signaled = mSignaledAnimations.find(id) != mSignaledAnimations.end();
if (!is_signaled)
{
llinfos << animationName(id) << "!S" << llendl;
@@ -3079,11 +3082,6 @@ BOOL LLVOAvatar::updateCharacter(LLAgent &agent)
}
}
- if (isSelf())
- {
- // dumpAnimationState(this);
- }
-
if (gNoRender)
{
// Hack if we're running drones...
@@ -4491,13 +4489,13 @@ BOOL LLVOAvatar::startMotion(const LLUUID& id, F32 time_offset)
{
LLMemType mt(LLMemType::MTYPE_AVATAR);
- llinfos << "motion requested " << id.asString() << " " << animationName(id) << llendl;
+ lldebugs << "motion requested " << id.asString() << " " << animationName(id) << llendl;
LLUUID remap_id = remapMotionID(id);
if (remap_id != id)
{
- llinfos << "motion resultant " << remap_id.asString() << " " << animationName(remap_id) << llendl;
+ lldebugs << "motion resultant " << remap_id.asString() << " " << animationName(remap_id) << llendl;
}
if (isSelf() && remap_id == ANIM_AGENT_AWAY)
@@ -4513,17 +4511,18 @@ BOOL LLVOAvatar::startMotion(const LLUUID& id, F32 time_offset)
//-----------------------------------------------------------------------------
BOOL LLVOAvatar::stopMotion(const LLUUID& id, BOOL stop_immediate)
{
- llinfos << "motion requested " << id.asString() << " " << animationName(id) << llendl;
+ lldebugs << "motion requested " << id.asString() << " " << animationName(id) << llendl;
LLUUID remap_id = remapMotionID(id);
if (remap_id != id)
{
- llinfos << "motion resultant " << remap_id.asString() << " " << animationName(remap_id) << llendl;
+ lldebugs << "motion resultant " << remap_id.asString() << " " << animationName(remap_id) << llendl;
}
if (isSelf())
{
+ // BAP - was onAnimStop(id) originally - verify fix.
gAgent.onAnimStop(remap_id);
}
diff --git a/indra/newview/llvoavatar.h b/indra/newview/llvoavatar.h
index f06bb458c5..bf075a199c 100644
--- a/indra/newview/llvoavatar.h
+++ b/indra/newview/llvoavatar.h
@@ -164,6 +164,7 @@ public:
virtual void requestStopMotion(LLMotion* motion);
LLMotion* findMotion(const LLUUID& id) const;
void startDefaultMotions();
+ void dumpAnimationState();
virtual LLJoint* getJoint(const std::string &name);
virtual LLJoint* getRootJoint() { return &mRoot; }