aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcharacter/llkeyframemotionparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcharacter/llkeyframemotionparam.h')
-rw-r--r--linden/indra/llcharacter/llkeyframemotionparam.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/linden/indra/llcharacter/llkeyframemotionparam.h b/linden/indra/llcharacter/llkeyframemotionparam.h
index a5bc2cb..f509e6a 100644
--- a/linden/indra/llcharacter/llkeyframemotionparam.h
+++ b/linden/indra/llcharacter/llkeyframemotionparam.h
@@ -143,8 +143,20 @@ protected:
143 // Member Data 143 // Member Data
144 //------------------------------------------------------------------------- 144 //-------------------------------------------------------------------------
145 145
146 typedef LLLinkedList < ParameterizedMotion > motion_list_t; 146 struct compare_motions
147 LLAssocList <std::string, motion_list_t* > mParameterizedMotions; 147 {
148 bool operator() (const ParameterizedMotion& a, const ParameterizedMotion& b) const
149 {
150 if (a.second != b.second)
151 return (a.second < b.second);
152 else
153 return a.first < b.first;
154 }
155 };
156
157 typedef std::set < ParameterizedMotion, compare_motions > motion_list_t;
158 typedef std::map <std::string, motion_list_t > motion_map_t;
159 motion_map_t mParameterizedMotions;
148 LLMotion* mDefaultKeyframeMotion; 160 LLMotion* mDefaultKeyframeMotion;
149 LLCharacter* mCharacter; 161 LLCharacter* mCharacter;
150 LLPoseBlender mPoseBlender; 162 LLPoseBlender mPoseBlender;