diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-08-19 16:23:42 +0300 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-08-19 16:23:42 +0300 |
commit | 4eb1e2356f2c3103b7bd550b9fccf5d41791dc08 (patch) | |
tree | 01f83c6047ab5f1ceafcfc4d2d253ac9e87cdc77 /indra/newview/llvoavatarself.cpp | |
parent | ab909a96a14d06168458df575153cf607e9ec4d8 (diff) | |
parent | ebab718f32b58ca5a718e8db549ca9d36550bdcf (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.cpp | 5 |
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; |