summaryrefslogtreecommitdiff
path: root/indra/llcharacter
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-07-13 17:20:00 +0300
committerVadim Savchuk <vsavchuk@productengine.com>2010-07-13 17:20:00 +0300
commit2a1b8318bd6b8175012df51e5b0eb18acee01d1b (patch)
tree4ad003b939788e1b6005f22f5b8a81fbef348da5 /indra/llcharacter
parentfa3a77abdd2bd7218cc193f9d4d52a1ee73beb7d (diff)
parentc8602b293517dfb4d5c6658ab235af9fe9932b7e (diff)
Merge from default branch
--HG-- branch : product-engine
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
//-------------------------------------------------------------------------