diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-03-08 17:07:23 -0500 |
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-03-08 17:07:23 -0500 |
| commit | 7bc698cbeca5ef3aab93bf7e4b843004dd5a7afb (patch) | |
| tree | b94379d89f69df308e8232f116bb9478fd85e4f0 /indra/newview/llvoavatarself.cpp | |
| parent | accc2c6fc88e6de19137cc7a9add219e4eece246 (diff) | |
SH-2970 WIP - more phase tracking
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
| -rwxr-xr-x | indra/newview/llvoavatarself.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index 2c206347bc..ed3295c43c 100755 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -74,6 +74,30 @@ BOOL isAgentAvatarValid() (!gAgentAvatarp->isDead())); } +void selfStartPhase(const std::string& phase_name) +{ + if (isAgentAvatarValid()) + { + gAgentAvatarp->startPhase(phase_name); + } +} + +void selfStopPhase(const std::string& phase_name) +{ + if (isAgentAvatarValid()) + { + gAgentAvatarp->stopPhase(phase_name); + } +} + +void selfClearPhases() +{ + if (isAgentAvatarValid()) + { + gAgentAvatarp->clearPhases(); + } +} + using namespace LLVOAvatarDefines; /********************************************************************************* |
