diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llcharacter/llhandmotion.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcharacter/llhandmotion.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llcharacter/llhandmotion.cpp b/linden/indra/llcharacter/llhandmotion.cpp index 3902518..f51e0d0 100644 --- a/linden/indra/llcharacter/llhandmotion.cpp +++ b/linden/indra/llcharacter/llhandmotion.cpp | |||
@@ -201,16 +201,16 @@ void LLHandMotion::onDeactivate() | |||
201 | //----------------------------------------------------------------------------- | 201 | //----------------------------------------------------------------------------- |
202 | // LLHandMotion::getHandPoseName() | 202 | // LLHandMotion::getHandPoseName() |
203 | //----------------------------------------------------------------------------- | 203 | //----------------------------------------------------------------------------- |
204 | LLString LLHandMotion::getHandPoseName(eHandPose pose) | 204 | std::string LLHandMotion::getHandPoseName(eHandPose pose) |
205 | { | 205 | { |
206 | if ((S32)pose < LLHandMotion::NUM_HAND_POSES && (S32)pose >= 0) | 206 | if ((S32)pose < LLHandMotion::NUM_HAND_POSES && (S32)pose >= 0) |
207 | { | 207 | { |
208 | return gHandPoseNames[pose]; | 208 | return std::string(gHandPoseNames[pose]); |
209 | } | 209 | } |
210 | return ""; | 210 | return LLStringUtil::null; |
211 | } | 211 | } |
212 | 212 | ||
213 | LLHandMotion::eHandPose LLHandMotion::getHandPose(LLString posename) | 213 | LLHandMotion::eHandPose LLHandMotion::getHandPose(std::string posename) |
214 | { | 214 | { |
215 | for (S32 pose = 0; pose < LLHandMotion::NUM_HAND_POSES; ++pose) | 215 | for (S32 pose = 0; pose < LLHandMotion::NUM_HAND_POSES; ++pose) |
216 | { | 216 | { |