diff options
author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2009-10-29 15:17:39 -0400 |
---|---|---|
committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2009-10-29 15:17:39 -0400 |
commit | 1c0faee6e7711dcf0c8a13e4dbc5f75e95b1bf4d (patch) | |
tree | f86343eebe9bac35eb2ba21c4a4e5b8d51a79903 /indra/newview/llagentwearables.cpp | |
parent | d28e37b9fc0413a24e75a2a7c78a109abbe67330 (diff) | |
parent | 011f3786b34904d2197817151600dd876679dbbe (diff) |
Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/
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..d764dc4f3a 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 < getWearableCount((EWearableType)type); ++count) + { + LLWearable *wearable = getWearable((EWearableType)type,count); + wearable->animateParams(delta, set_by_user); + } + } +} void LLAgentWearables::updateServer() { |