diff options
| author | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-11-12 16:41:40 +0200 | 
|---|---|---|
| committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-11-12 16:41:40 +0200 | 
| commit | 77b278b7f5615a6ba93b47c2a0d8a2338dc27dc2 (patch) | |
| tree | 5bdde0f07374f4c8ac69347e3b304304eb34d16d /indra/llinventory | |
| parent | 2929998982f37221a58b9fa8037748a2e905f4b1 (diff) | |
SL-9620 Viewer crashes after clicking "Commit" button while editing Day Cycle preset
Diffstat (limited to 'indra/llinventory')
| -rw-r--r-- | indra/llinventory/llparcel.cpp | 2 | ||||
| -rw-r--r-- | indra/llinventory/llparcel.h | 1 | 
2 files changed, 2 insertions, 1 deletions
| diff --git a/indra/llinventory/llparcel.cpp b/indra/llinventory/llparcel.cpp index aff7f86fd4..e2469f3c7e 100644 --- a/indra/llinventory/llparcel.cpp +++ b/indra/llinventory/llparcel.cpp @@ -233,7 +233,7 @@ void LLParcel::init(const LLUUID &owner_id,  	setHaveNewParcelLimitData(FALSE);      setRegionAllowEnvironmentOverride(FALSE); -    setParcelEnvironmentVersion(-1); +    setParcelEnvironmentVersion(INVALID_PARCEL_ENVIRONMENT_VERSION);  }  void LLParcel::overrideOwner(const LLUUID& owner_id, BOOL is_group_owned) diff --git a/indra/llinventory/llparcel.h b/indra/llinventory/llparcel.h index 2497a069d7..9ece9b58e5 100644 --- a/indra/llinventory/llparcel.h +++ b/indra/llinventory/llparcel.h @@ -102,6 +102,7 @@ const U32 RT_LIST	= 0x1 << 4;  const U32 RT_SELL	= 0x1 << 5;  const S32 INVALID_PARCEL_ID = -1; +const S32 INVALID_PARCEL_ENVIRONMENT_VERSION = -1;  // Timeouts for parcels  // default is 21 days * 24h/d * 60m/h * 60s/m *1000000 usec/s = 1814400000000 | 
