diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-03-10 10:12:25 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-03-10 10:12:25 -0500 |
commit | 05bd94268d99a34b4f4b1556e3088cbf134034f9 (patch) | |
tree | 12a585c5a1c6fd6297f31e5e3b7b312b0cde67b1 /indra/llcharacter/llvisualparam.h | |
parent | d56533609431b213810928d204e3720fecd42b82 (diff) |
SL-315 - wip on joint reset
Diffstat (limited to 'indra/llcharacter/llvisualparam.h')
-rwxr-xr-x | indra/llcharacter/llvisualparam.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcharacter/llvisualparam.h b/indra/llcharacter/llvisualparam.h index c6b97d7e8b..0ad063fd1e 100755 --- a/indra/llcharacter/llvisualparam.h +++ b/indra/llcharacter/llvisualparam.h @@ -150,6 +150,7 @@ public: F32 getWeight() const { return mIsAnimating ? mTargetWeight : mCurWeight; } F32 getCurrentWeight() const { return mCurWeight; } F32 getLastWeight() const { return mLastWeight; } + void setLastWeight(F32 val) { mLastWeight = val; } BOOL isAnimating() const { return mIsAnimating; } BOOL isTweakable() const { return (getGroup() == VISUAL_PARAM_GROUP_TWEAKABLE) || (getGroup() == VISUAL_PARAM_GROUP_TWEAKABLE_NO_TRANSMIT); } |