diff options
author | Rider Linden <rider@lindenlab.com> | 2019-02-05 15:09:32 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2019-02-05 15:09:32 -0800 |
commit | ce40f88ecb09c91061f7a18ad2b52dcaa3df7ca3 (patch) | |
tree | e0cdc1eaf9df54ce7a7521e1c4e65071d96188b7 /indra/llinventory | |
parent | 801ce79b7259aaa3e09fefec40f37861946c062c (diff) |
Better calculation of time remaining in span for track animator (from SL-10465)
Diffstat (limited to 'indra/llinventory')
-rw-r--r-- | indra/llinventory/llsettingsbase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llinventory/llsettingsbase.h b/indra/llinventory/llsettingsbase.h index 9e03052892..45d2fa0027 100644 --- a/indra/llinventory/llsettingsbase.h +++ b/indra/llinventory/llsettingsbase.h @@ -519,6 +519,7 @@ public: inline void setIgnoreTimeDeltaThreshold(bool val) { mIgnoreTimeDelta = val; } inline bool getIgnoreTimeDeltaThreshold() const { return mIgnoreTimeDelta; } + inline void setTimeSpent(LLSettingsBase::Seconds time) { mTimeSpent = time; } protected: LLSettingsBase::BlendFactor calculateBlend(const LLSettingsBase::TrackPosition& spanpos, const LLSettingsBase::TrackPosition& spanlen) const; |