diff options
| author | Richard Linden <none@none> | 2013-01-10 19:26:58 -0800 |
|---|---|---|
| committer | Richard Linden <none@none> | 2013-01-10 19:26:58 -0800 |
| commit | efa6be575c184a885d2b7e6f2142db6777668343 (patch) | |
| tree | 1822b8aa43e58ac9ce7a33db69668ecaf844f15d /indra/newview/llvoavatar.cpp | |
| parent | 826dbe08ffb1eee2428184641a61615c8375c95c (diff) | |
| parent | 840540be186904b1e711d79dede0c771c967950c (diff) | |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting-metrics
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
| -rwxr-xr-x | indra/newview/llvoavatar.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index f349714556..1d43f96fb7 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -102,6 +102,7 @@ #include "lldebugmessagebox.h" #include "llsdutil.h" +#include "llscenemonitor.h" extern F32 SPEED_ADJUST_MAX; extern F32 SPEED_ADJUST_MAX_SEC; @@ -771,6 +772,11 @@ LLVOAvatar::LLVOAvatar(const LLUUID& id, mLastPelvisToFoot = 0.0f; mPelvisFixup = 0.0f; mLastPelvisFixup = 0.0f; + + if(LLSceneMonitor::getInstance()->isEnabled()) + { + LLSceneMonitor::getInstance()->freezeAvatar((LLCharacter*)this); + } } std::string LLVOAvatar::avString() const |
