From 07545e99fcb70c8bce34fc7a8c5a84c40f39174a Mon Sep 17 00:00:00 2001
From: "Brad Payne (Vir Linden)" <vir@lindenlab.com>
Date: Wed, 29 Feb 2012 13:09:28 -0500
Subject: [PATCH] SH-2689 FIX - a bit more logging and related cleanup.
 Somewhat arbitrarily calling this done, although tweaks will be ongoing

---
 indra/llprimitive/llprimitive.cpp | 0
 indra/newview/llvoavatar.cpp      | 9 +++++----
 indra/newview/llvoavatarself.cpp  | 2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)
 mode change 100644 => 100755 indra/llprimitive/llprimitive.cpp

diff --git a/indra/llprimitive/llprimitive.cpp b/indra/llprimitive/llprimitive.cpp
old mode 100644
new mode 100755
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index fcb774f0e5c..8ea0fb7c509 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -4004,7 +4004,7 @@ void LLVOAvatar::updateVisibility()
 			LLNameValue* firstname = getNVPair("FirstName");
 			if (firstname)
 			{
-				llinfos << avString() << " updating visiblity" << llendl;
+				llinfos << avString() << " updating visibility" << llendl;
 			}
 			else
 			{
@@ -4216,7 +4216,7 @@ U32 LLVOAvatar::renderSkinned(EAvatarRenderPass pass)
 		LLNameValue* firstname = getNVPair("FirstName");
 		if (firstname)
 		{
-			llinfos << "Avatar " << firstname->getString() << " in render" << llendl;
+			llinfos << avString() << " in render" << llendl;
 		}
 		else
 		{
@@ -7231,8 +7231,9 @@ void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys )
 	}
 
 
-	// runway - is this right? Will be called every time *except* the first.
-	// FIXME - trying toggle
+	// runway - was
+	// if (!is_first_appearance_message )
+	// which means it would be called on second appearance message - probably wrong.
 	if (is_first_appearance_message )
 	{
 		onFirstTEMessageReceived();
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index fcdb4e3c632..e0af6c3995d 100755
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -2339,7 +2339,7 @@ void LLVOAvatarSelf::outputRezDiagnostics() const
 void LLVOAvatarSelf::outputRezTiming(const std::string& msg) const
 {
 	llinfos
-		<< " Avatar '" << getFullname() << "' "
+		<< avString()
 		<< llformat("%s. Time from avatar creation: %.2f", msg.c_str(), mDebugSelfLoadTimer.getElapsedTimeF32())
 		<< llendl;
 }
-- 
GitLab