diff options
author | Graham Linden <graham@lindenlab.com> | 2018-06-21 18:40:18 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-06-21 18:40:18 +0100 |
commit | 2c0583a2719faabd32415782e2326858e0557d0e (patch) | |
tree | 50a5845ebd39fba7bb428d145404de85ed30e499 /indra/llinventory/llsettingsbase.h | |
parent | 91121d113d25af570ec64564dd10c21f0d5fcb69 (diff) | |
parent | ea75559674a8ac6d48fbf511880b1a79cbb7642d (diff) |
Merge 5.1.7
Diffstat (limited to 'indra/llinventory/llsettingsbase.h')
-rw-r--r-- | indra/llinventory/llsettingsbase.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llinventory/llsettingsbase.h b/indra/llinventory/llsettingsbase.h index 3a5296daa4..7f88227a6d 100644 --- a/indra/llinventory/llsettingsbase.h +++ b/indra/llinventory/llsettingsbase.h @@ -388,7 +388,8 @@ public: mLastUpdate(0.0f), mTimeSpent(0.0f), mTimeDeltaThreshold(0.0f), - mTimeDeltaPassed(0.0f) + mTimeDeltaPassed(0.0f), + mIgnoreTimeDelta(false) { mTimeStart = LLSettingsBase::Seconds(LLDate::now().secondsSinceEpoch()); mLastUpdate = mTimeStart; @@ -422,6 +423,9 @@ public: return mTimeDeltaThreshold; } + inline void setIgnoreTimeDeltaThreshold(bool val) { mIgnoreTimeDelta = val; } + inline bool getIgnoreTimeDeltaThreshold() const { return mIgnoreTimeDelta; } + protected: LLSettingsBase::BlendFactor calculateBlend(const LLSettingsBase::TrackPosition& spanpos, const LLSettingsBase::TrackPosition& spanlen) const; @@ -431,6 +435,7 @@ protected: LLSettingsBase::Seconds mTimeStart; LLSettingsBase::Seconds mTimeDeltaThreshold; LLSettingsBase::Seconds mTimeDeltaPassed; + bool mIgnoreTimeDelta; }; |