summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-08-20 12:16:46 -0700
committerTofu Linden <tofu.linden@lindenlab.com>2010-08-20 12:16:46 -0700
commit834f2fa6a5b956c1cee508756979bad3c4a72277 (patch)
treef9a96c1072d101d598240952eabe2d6b62d4cc97 /indra/newview/llvoavatarself.cpp
parent4075efaf0dd8842ece6f6a9890a686745310e2b5 (diff)
parentebab718f32b58ca5a718e8db549ca9d36550bdcf (diff)
merge from viewer-release
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rw-r--r--indra/newview/llvoavatarself.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index 8cd5f1a3b3..7663329713 100644
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -2208,6 +2208,11 @@ void LLVOAvatarSelf::setNewBakedTexture( ETextureIndex te, const LLUUID& uuid )
void LLVOAvatarSelf::outputRezDiagnostics() const
{
+ if(!gSavedSettings.getBOOL("DebugAvatarLocalTexLoadedTime"))
+ {
+ return ;
+ }
+
const F32 final_time = mDebugSelfLoadTimer.getElapsedTimeF32();
llinfos << "REZTIME: Myself rez stats:" << llendl;
llinfos << "\t Time from avatar creation to load wearables: " << (S32)mDebugTimeWearablesLoaded << llendl;