diff options
author | callum <none@none> | 2009-10-29 17:35:38 -0700 |
---|---|---|
committer | callum <none@none> | 2009-10-29 17:35:38 -0700 |
commit | 65b74c6a5e0da64e3c30abf18e875fa4191891d0 (patch) | |
tree | 01ffd01779af951f298753d5ec7ea08f3272d9d7 /indra/newview/llagentwearables.cpp | |
parent | b4bd34bd73b2be74afd08785c88b66b2fadd5bfc (diff) | |
parent | 07647fdc5e02f893905d40af00e9ad4ffbc4ae5a (diff) |
Merge
Diffstat (limited to 'indra/newview/llagentwearables.cpp')
-rw-r--r-- | indra/newview/llagentwearables.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index b9a0b4293d..380469f5b3 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -1985,6 +1985,17 @@ bool LLAgentWearables::canWearableBeRemoved(const LLWearable* wearable) const return !(((type == WT_SHAPE) || (type == WT_SKIN) || (type == WT_HAIR) || (type == WT_EYES)) && (getWearableCount(type) <= 1) ); } +void LLAgentWearables::animateAllWearableParams(F32 delta, BOOL set_by_user) +{ + for( S32 type = 0; type < WT_COUNT; ++type ) + { + for (S32 count = 0; count < (S32)getWearableCount((EWearableType)type); ++count) + { + LLWearable *wearable = getWearable((EWearableType)type,count); + wearable->animateParams(delta, set_by_user); + } + } +} void LLAgentWearables::updateServer() { |