summaryrefslogtreecommitdiff
path: root/indra/llcharacter/llanimationstates.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcharacter/llanimationstates.h')
-rw-r--r--indra/llcharacter/llanimationstates.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llcharacter/llanimationstates.h b/indra/llcharacter/llanimationstates.h
index 8b6052e0f0..59d3a7d789 100644
--- a/indra/llcharacter/llanimationstates.h
+++ b/indra/llcharacter/llanimationstates.h
@@ -232,6 +232,11 @@ public:
// Associate an anim state with a name
//-----------------------------------------------------------------------------
void animStateSetString( const LLUUID& state, const std::string& name);
+
+ //-----------------------------------------------------------------------------
+ // Find the name for a given animation, or UUID string if none defined.
+ //-----------------------------------------------------------------------------
+ std::string animationName( const LLUUID& id ) const;
};
struct LLAnimStateEntry
@@ -257,8 +262,6 @@ extern const LLAnimStateEntry gUserAnimStates[];
extern const S32 gUserAnimStatesCount;
extern LLAnimationLibrary gAnimLibrary;
-std::string animationName( const LLUUID& id );
-
#endif // LL_LLANIMATIONSTATES_H