aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llvoavatar.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp
index 25c6eb6..37380a4 100644
--- a/linden/indra/newview/llvoavatar.cpp
+++ b/linden/indra/newview/llvoavatar.cpp
@@ -1486,6 +1486,7 @@ void LLVOAvatar::initClass()
1486 if (!root) 1486 if (!root)
1487 { 1487 {
1488 llerrs << "No root node found in avatar configuration file: " << xmlFile << llendl; 1488 llerrs << "No root node found in avatar configuration file: " << xmlFile << llendl;
1489 return;
1489 } 1490 }
1490 1491
1491 //------------------------------------------------------------------------- 1492 //-------------------------------------------------------------------------
@@ -1893,6 +1894,7 @@ void LLVOAvatar::buildCharacter()
1893 mEyeRightp)) 1894 mEyeRightp))
1894 { 1895 {
1895 llerrs << "Failed to create avatar." << llendl; 1896 llerrs << "Failed to create avatar." << llendl;
1897 return;
1896 } 1898 }
1897 1899
1898 //------------------------------------------------------------------------- 1900 //-------------------------------------------------------------------------
@@ -2461,7 +2463,7 @@ BOOL LLVOAvatar::idleUpdate(LLAgent &agent, LLWorld &world, const F64 &time)
2461 2463
2462 if (LLVOAvatar::sJointDebug) 2464 if (LLVOAvatar::sJointDebug)
2463 { 2465 {
2464 llinfos << getNVPair("FirstName")->getString() << getNVPair("LastName")->getString() << ": joint touches: " << LLJoint::sNumTouches << " updates: " << LLJoint::sNumUpdates << llendl; 2466 llinfos << getFullname() << ": joint touches: " << LLJoint::sNumTouches << " updates: " << LLJoint::sNumUpdates << llendl;
2465 } 2467 }
2466 2468
2467 LLJoint::sNumUpdates = 0; 2469 LLJoint::sNumUpdates = 0;
@@ -4809,7 +4811,7 @@ BOOL LLVOAvatar::allocateCollisionVolumes( U32 num )
4809LLJoint *LLVOAvatar::getCharacterJoint( U32 num ) 4811LLJoint *LLVOAvatar::getCharacterJoint( U32 num )
4810{ 4812{
4811 if ((S32)num >= mNumJoints 4813 if ((S32)num >= mNumJoints
4812 || num < 0) 4814 || (S32)num < 0)
4813 { 4815 {
4814 return NULL; 4816 return NULL;
4815 } 4817 }