diff options
author | Richard Linden <none@none> | 2013-01-11 13:15:39 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2013-01-11 13:15:39 -0800 |
commit | a3d07fd4c27e527edfb901b25b5857d3fd7d2eaf (patch) | |
tree | 306b27137fe029cafe4d65f0c24fc65820e1ab9a /indra/newview/llvoavatar.cpp | |
parent | dd54893bcf50f41e5c678b6ca67b646284b94fca (diff) | |
parent | 17c051f965e05a8a91d4a93b641084869897fe71 (diff) |
Automated merge with file:///c:%5Ccode%5Cviewer-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 |