summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-03-08 17:07:23 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-03-08 17:07:23 -0500
commit7bc698cbeca5ef3aab93bf7e4b843004dd5a7afb (patch)
treeb94379d89f69df308e8232f116bb9478fd85e4f0 /indra/newview/llvoavatarself.cpp
parentaccc2c6fc88e6de19137cc7a9add219e4eece246 (diff)
SH-2970 WIP - more phase tracking
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rwxr-xr-xindra/newview/llvoavatarself.cpp24
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;
/*********************************************************************************