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
commit4e62d8cc9cf7ea391ab08c6fa6eecb375eb249b0 (patch)
tree205da4dc5c4c4b10fe6d7f6c80d77641e06df193 /indra/newview/llvoavatarself.cpp
parentac9f9d82a08840aac569f853e0d4b24d0e4ad103 (diff)
parent116382fdf78ca578a74c30a162208033fd021124 (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;