summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-01-25 17:21:25 -0800
committerRider Linden <rider@lindenlab.com>2018-01-25 17:21:25 -0800
commitfbd8a98300277bdbc1885c25eea290560fd8c6c1 (patch)
tree93279d01ba2db5ba25d7fdffe69f46df29e8ed3b /indra/newview/llviewerregion.h
parent9b05a8d1cde1d54e60bf4ead021372427c7d11fd (diff)
Selects correct day cycle. Fix an error validating legacy daycycles.
Diffstat (limited to 'indra/newview/llviewerregion.h')
-rw-r--r--indra/newview/llviewerregion.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/indra/newview/llviewerregion.h b/indra/newview/llviewerregion.h
index fef78e29a9..71d4d85ade 100644
--- a/indra/newview/llviewerregion.h
+++ b/indra/newview/llviewerregion.h
@@ -390,14 +390,16 @@ public:
static BOOL isNewObjectCreationThrottleDisabled() { return sNewObjectCreationThrottle < 0; }
- S64Seconds getDayLength() const { return mDayLength; }
- void setDayLength(S64SecondsImplicit seconds) { mDayLength = seconds; }
- S64Seconds getDayOffset() const { return mDayOffset; }
- void setDayOffset(S64SecondsImplicit seconds) { mDayOffset = seconds; }
- bool getIsDefaultDayCycle() const { return mIsDefaultDayCycle; }
- void setIsDefaultDayCycle(bool isdefault) { mIsDefaultDayCycle = isdefault; }
- LLSettingsDay::ptr_t getRegionDayCycle() const { return mDayCycle; }
- void setRegionDayCycle(const LLSettingsDay::ptr_t &pday) { mDayCycle = pday; }
+ S64Seconds getDayLength() const { return mDayLength; }
+ void setDayLength(S64SecondsImplicit seconds) { mDayLength = seconds; }
+ S64Seconds getDayOffset() const { return mDayOffset; }
+ void setDayOffset(S64SecondsImplicit seconds) { mDayOffset = seconds; }
+ bool getIsDefaultDayCycle() const { return mIsDefaultDayCycle; }
+ void setIsDefaultDayCycle(bool isdefault) { mIsDefaultDayCycle = isdefault; }
+ LLSettingsDay::ptr_t getRegionDayCycle() const { return mDayCycle; }
+ void setRegionDayCycle(const LLSettingsDay::ptr_t &pday) { mDayCycle = pday; }
+ size_t getRegionDayCycleHash() const { return mDayCycleHash; }
+ void setRegionDayCycleHash(size_t hash) { mDayCycleHash = hash; }
private:
void addToVOCacheTree(LLVOCacheEntry* entry);
@@ -542,6 +544,7 @@ private:
S64Seconds mDayOffset;
bool mIsDefaultDayCycle;
LLSettingsDay::ptr_t mDayCycle;
+ size_t mDayCycleHash;
class CacheMissItem
{