summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-02-05 15:09:32 -0800
committerRider Linden <rider@lindenlab.com>2019-02-05 15:09:32 -0800
commitce40f88ecb09c91061f7a18ad2b52dcaa3df7ca3 (patch)
treee0cdc1eaf9df54ce7a7521e1c4e65071d96188b7 /indra/llinventory
parent801ce79b7259aaa3e09fefec40f37861946c062c (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.h1
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;