From dd6167ae8d652e32d1c3849631dd8c0022032f79 Mon Sep 17 00:00:00 2001
From: maxim_productengine <mnikolenko@productengine.com>
Date: Wed, 14 Nov 2018 14:01:50 +0200
Subject: [PATCH] SL-10061 FIXED [EEP] Parcel Environment settings can't be
 changed when Region settings are used

---
 indra/llinventory/llparcel.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/indra/llinventory/llparcel.h b/indra/llinventory/llparcel.h
index 9ece9b58e55..067391b5a19 100644
--- a/indra/llinventory/llparcel.h
+++ b/indra/llinventory/llparcel.h
@@ -102,7 +102,9 @@ 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;
+
+// if Region settings are used, parcel env. version is -1
+const S32 INVALID_PARCEL_ENVIRONMENT_VERSION = -2;
 
 // Timeouts for parcels
 // default is 21 days * 24h/d * 60m/h * 60s/m *1000000 usec/s = 1814400000000
-- 
GitLab