summaryrefslogtreecommitdiff
path: root/indra/llinventory/llparcel.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2018-11-12 16:41:40 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2018-11-12 16:41:40 +0200
commit77b278b7f5615a6ba93b47c2a0d8a2338dc27dc2 (patch)
tree5bdde0f07374f4c8ac69347e3b304304eb34d16d /indra/llinventory/llparcel.cpp
parent2929998982f37221a58b9fa8037748a2e905f4b1 (diff)
SL-9620 Viewer crashes after clicking "Commit" button while editing Day Cycle preset
Diffstat (limited to 'indra/llinventory/llparcel.cpp')
-rw-r--r--indra/llinventory/llparcel.cpp2
1 files changed, 1 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)