diff options
author | nyx@NyxTop <nyx@NyxTop> | 2009-10-29 15:13:27 -0400 |
---|---|---|
committer | nyx@NyxTop <nyx@NyxTop> | 2009-10-29 15:13:27 -0400 |
commit | 65f534899740018b8efb662f8154030edb07fc0f (patch) | |
tree | 5a9697d4fb5a6004a80545804db11c51e1bdfc4c /indra/newview/llwearable.cpp | |
parent | bc9808a01710ab21d60df3b6652b500f31f1c40e (diff) |
EXT-1945 visual parameter animations broken
First round of fixes for trying to fix the visual param animations
Code reviewed by Seraph
Diffstat (limited to 'indra/newview/llwearable.cpp')
-rw-r--r-- | indra/newview/llwearable.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llwearable.cpp b/indra/newview/llwearable.cpp index d70b3a26a9..ebb9b0c13d 100644 --- a/indra/newview/llwearable.cpp +++ b/indra/newview/llwearable.cpp @@ -921,6 +921,17 @@ void LLWearable::getVisualParams(visual_param_vec_t &list) } } +void LLWearable::animateParams(F32 delta, BOOL set_by_user) +{ + for(visual_param_index_map_t::iterator iter = mVisualParamIndexMap.begin(); + iter != mVisualParamIndexMap.end(); + ++iter) + { + LLVisualParam *param = (LLVisualParam*) iter->second; + param->animate(delta, set_by_user); + } +} + LLColor4 LLWearable::getClothesColor(S32 te) const { LLColor4 color; |