diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-03-09 16:34:17 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-03-09 16:34:17 -0500 |
commit | bcc2547911fe6bd3ab433118dcdbfd84b3f024ec (patch) | |
tree | 0295ac54d8110f71ff4cc8ff23111a4b4295d1ad /indra/newview/llvoavatar.cpp | |
parent | 7bc698cbeca5ef3aab93bf7e4b843004dd5a7afb (diff) |
SH-2970 WIP - more phase tracking
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-x | indra/newview/llvoavatar.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 9cfc0f2fdd..2dbf3ac698 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -983,6 +983,15 @@ void LLVOAvatar::stopPhase(const std::string& phase_name) timer.pause(); } +void LLVOAvatar::stopAllPhases() +{ + for (phase_map_t::iterator iter = mPhases.begin(); + iter != mPhases.end(); ++iter) + { + iter->second.pause(); + } +} + void LLVOAvatar::clearPhases() { mPhases.clear(); |