diff options
author | Rider Linden <rider@lindenlab.com> | 2018-01-16 11:03:26 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-01-16 11:03:26 -0800 |
commit | a0c228d84240a80437b63e0a2cd1cee24e8004a0 (patch) | |
tree | 76cd50d1e2bdca458af102c4cfd4a32d478a1f4d /indra/llinventory/llparcel.cpp | |
parent | 8211f57205f0008d8ffb9bfcd465ca26d906e19c (diff) |
MAINT-8052: Report if the returned environment is the default.
Diffstat (limited to 'indra/llinventory/llparcel.cpp')
-rw-r--r-- | indra/llinventory/llparcel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llinventory/llparcel.cpp b/indra/llinventory/llparcel.cpp index 0908613c10..f53ef5e0ff 100644 --- a/indra/llinventory/llparcel.cpp +++ b/indra/llinventory/llparcel.cpp @@ -231,6 +231,11 @@ void LLParcel::init(const LLUUID &owner_id, setAllowGroupAVSounds(TRUE); setAllowAnyAVSounds(TRUE); setHaveNewParcelLimitData(FALSE); + + mDayLength = S64Seconds(LLSettingsDay::DEFAULT_DAYLENGTH); + mDayOffset = S64Seconds(LLSettingsDay::DEFAULT_DAYOFFSET); + mIsDefaultDayCycle = true; + mDayCycle.reset(); } void LLParcel::overrideOwner(const LLUUID& owner_id, BOOL is_group_owned) |