summaryrefslogtreecommitdiff
path: root/indra/llcharacter
diff options
context:
space:
mode:
authorDessie Linden <dessie@lindenlab.com>2010-07-13 05:27:27 -0700
committerDessie Linden <dessie@lindenlab.com>2010-07-13 05:27:27 -0700
commitc201038aba861b1166d367fcf5986e33644ec018 (patch)
treec9b0379d1936736de93ae3dc2489e54dce96e604 /indra/llcharacter
parentb45271834161018be8c825e96c64d9ef7b67401c (diff)
parentc8602b293517dfb4d5c6658ab235af9fe9932b7e (diff)
Merged from viewer-release
Diffstat (limited to 'indra/llcharacter')
-rw-r--r--indra/llcharacter/llkeyframemotion.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llcharacter/llkeyframemotion.cpp b/indra/llcharacter/llkeyframemotion.cpp
index f4dc3b927b..7bc9e97eb1 100644
--- a/indra/llcharacter/llkeyframemotion.cpp
+++ b/indra/llcharacter/llkeyframemotion.cpp
@@ -1248,6 +1248,12 @@ BOOL LLKeyframeMotion::deserialize(LLDataPacker& dp)
return FALSE;
}
+ if(mJointMotionList->mEmoteName==mID.asString())
+ {
+ llwarns << "Malformed animation mEmoteName==mID" << llendl;
+ return FALSE;
+ }
+
//-------------------------------------------------------------------------
// get loop
//-------------------------------------------------------------------------