summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-08-19 16:23:42 +0300
committerVadim Savchuk <vsavchuk@productengine.com>2010-08-19 16:23:42 +0300
commit4eb1e2356f2c3103b7bd550b9fccf5d41791dc08 (patch)
tree01f83c6047ab5f1ceafcfc4d2d253ac9e87cdc77 /indra/newview/llvoavatarself.cpp
parentab909a96a14d06168458df575153cf607e9ec4d8 (diff)
parentebab718f32b58ca5a718e8db549ca9d36550bdcf (diff)
Merge from default branch. Fixed gcc build.
--HG-- branch : product-engine
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 274dbe6332..534703d15a 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;