aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llvoavatar.cpp')
-rw-r--r--linden/indra/newview/llvoavatar.cpp17
1 files changed, 10 insertions, 7 deletions
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp
index 54f4942..812e924 100644
--- a/linden/indra/newview/llvoavatar.cpp
+++ b/linden/indra/newview/llvoavatar.cpp
@@ -2500,7 +2500,6 @@ void LLVOAvatar::computeBodySize()
2500 2500
2501 // some of the joints have not been cached 2501 // some of the joints have not been cached
2502 LLVector3 skull = mSkullp->getPosition(); 2502 LLVector3 skull = mSkullp->getPosition();
2503 LLVector3 skull_scale = mSkullp->getScale();
2504 2503
2505 LLVector3 neck = mNeckp->getPosition(); 2504 LLVector3 neck = mNeckp->getPosition();
2506 LLVector3 neck_scale = mNeckp->getScale(); 2505 LLVector3 neck_scale = mNeckp->getScale();
@@ -2580,7 +2579,6 @@ U32 LLVOAvatar::processUpdateMessage(LLMessageSystem *mesgsys,
2580{ 2579{
2581 LLMemType mt(LLMemType::MTYPE_AVATAR); 2580 LLMemType mt(LLMemType::MTYPE_AVATAR);
2582 2581
2583 LLVector3 old_vel = getVelocity();
2584 // Do base class updates... 2582 // Do base class updates...
2585 U32 retval = LLViewerObject::processUpdateMessage(mesgsys, user_data, block_num, update_type, dp); 2583 U32 retval = LLViewerObject::processUpdateMessage(mesgsys, user_data, block_num, update_type, dp);
2586 2584
@@ -3312,6 +3310,16 @@ void LLVOAvatar::resolveClient(LLColor4& avatar_name_color, std::string& client,
3312 avatar_name_color = avatar_name_color * (F32)0.333333333333; 3310 avatar_name_color = avatar_name_color * (F32)0.333333333333;
3313 client = "Meerkat"; 3311 client = "Meerkat";
3314 } 3312 }
3313 else if(idx == LLUUID("7eab0700-f000-0000-0000-546561706f74"))
3314 {
3315 avatar_name_color = LLColor4(0.69f,0.42f,0.84f,1.0f); // Armins V3 viewer.
3316 client = "Teapot";
3317 }
3318 else if(idx == LLUUID("b32f01bc-f9b3-4535-b1f3-99dc38f022db"))
3319 {
3320 avatar_name_color = LLColor4(0.8f,1.0f,0.0f,1.0f);//Meta7
3321 client = "Meta7";
3322 }
3315 else if(idx == LLUUID("ccda2b3b-e72c-a112-e126-fee238b67218")) 3323 else if(idx == LLUUID("ccda2b3b-e72c-a112-e126-fee238b67218"))
3316 { 3324 {
3317 avatar_name_color += LLColor4::green;//emerald 3325 avatar_name_color += LLColor4::green;//emerald
@@ -3819,8 +3827,6 @@ void LLVOAvatar::idleUpdateNameTag(const LLVector3& root_pos_last)
3819 mNameText->setLabel(mNameString); 3827 mNameText->setLabel(mNameString);
3820 } 3828 }
3821 3829
3822 char line[MAX_STRING]; /* Flawfinder: ignore */
3823 line[0] = '\0';
3824 std::deque<LLChat>::iterator chat_iter = mChats.begin(); 3830 std::deque<LLChat>::iterator chat_iter = mChats.begin();
3825 mNameText->clearString(); 3831 mNameText->clearString();
3826 3832
@@ -4283,8 +4289,6 @@ BOOL LLVOAvatar::updateCharacter(LLAgent &agent)
4283 xyVel.mV[VZ] = 0.0f; 4289 xyVel.mV[VZ] = 0.0f;
4284 speed = xyVel.length(); 4290 speed = xyVel.length();
4285 4291
4286 BOOL throttle = TRUE;
4287
4288 if (!(mIsSitting && getParent())) 4292 if (!(mIsSitting && getParent()))
4289 { 4293 {
4290 //-------------------------------------------------------------------- 4294 //--------------------------------------------------------------------
@@ -4295,7 +4299,6 @@ BOOL LLVOAvatar::updateCharacter(LLAgent &agent)
4295 if (mTimeLast == 0.0f) 4299 if (mTimeLast == 0.0f)
4296 { 4300 {
4297 mTimeLast = animation_time; 4301 mTimeLast = animation_time;
4298 throttle = FALSE;
4299 4302
4300 // put the pelvis at slaved position/mRotation 4303 // put the pelvis at slaved position/mRotation
4301 mRoot.setWorldPosition( getPositionAgent() ); // first frame 4304 mRoot.setWorldPosition( getPositionAgent() ); // first frame