summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2015-05-20 16:37:29 -0400
committerOz Linden <oz@lindenlab.com>2015-05-20 16:37:29 -0400
commitc8d98358a6291282510cd1be014017c63d547375 (patch)
tree59241365b508e006a486129a81058988cc4704f8 /indra
parent91d6b088279443abf08285e225b29317d90c8e95 (diff)
correct logging to avoid linux compiler finikieness
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/pipeline.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 801422b83b..945ba3993a 100755
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -11294,17 +11294,6 @@ static LLTrace::BlockTimerStatHandle FTM_IMPOSTOR_RESIZE("Impostor Resize");
void LLPipeline::generateImpostor(LLVOAvatar* avatar)
{
- LL_WARNS_ONCE("AvatarRenderPipeline");
- if (avatar)
- {
- LL_CONT << "Avatar " << avatar->getID() << " is " << (avatar->mDrawable?"":"not ") << "drawable";
- }
- else
- {
- LL_CONT << " is null";
- }
- LL_CONT << LL_ENDL;
-
LLGLState::checkStates();
LLGLState::checkTextureChannels();
LLGLState::checkClientArrays();
@@ -11315,8 +11304,10 @@ void LLPipeline::generateImpostor(LLVOAvatar* avatar)
if (!avatar || !avatar->mDrawable)
{
+ LL_WARNS_ONCE("AvatarRenderPipeline") << "Avatar is " << (avatar ? "not drawable" : "null") << LL_ENDL;
return;
}
+ LL_DEBUG_ONCE("AvatarRenderPipeline") << "Avatar " << avatar->getID() << " is drawable" << LL_ENDL;
assertInitialized();