diff options
Diffstat (limited to 'indra/llinventory')
| -rw-r--r-- | indra/llinventory/llparcel.cpp | 3 | ||||
| -rw-r--r-- | indra/llinventory/llparcel.h | 4 | 
2 files changed, 7 insertions, 0 deletions
| diff --git a/indra/llinventory/llparcel.cpp b/indra/llinventory/llparcel.cpp index e2469f3c7e..140cc2f3af 100644 --- a/indra/llinventory/llparcel.cpp +++ b/indra/llinventory/llparcel.cpp @@ -234,6 +234,8 @@ void LLParcel::init(const LLUUID &owner_id,      setRegionAllowEnvironmentOverride(FALSE);      setParcelEnvironmentVersion(INVALID_PARCEL_ENVIRONMENT_VERSION); + +    setObscureMOAP(false);  }  void LLParcel::overrideOwner(const LLUUID& owner_id, BOOL is_group_owned) @@ -540,6 +542,7 @@ void LLParcel::packMessage(LLSD& msg)  	msg["see_avs"] = (LLSD::Boolean) getSeeAVs();  	msg["group_av_sounds"] = (LLSD::Boolean) getAllowGroupAVSounds();  	msg["any_av_sounds"] = (LLSD::Boolean) getAllowAnyAVSounds(); +    msg["obscure_moap"] = (LLSD::Boolean) getObscureMOAP();  } diff --git a/indra/llinventory/llparcel.h b/indra/llinventory/llparcel.h index 5d08c1f4c6..f5ee1241ab 100644 --- a/indra/llinventory/llparcel.h +++ b/indra/llinventory/llparcel.h @@ -306,6 +306,7 @@ public:  	void	setRestrictPushObject(BOOL b) { setParcelFlag(PF_RESTRICT_PUSHOBJECT, b); }  	void	setAllowGroupAVSounds(BOOL b)	{ mAllowGroupAVSounds = b;		}  	void	setAllowAnyAVSounds(BOOL b)		{ mAllowAnyAVSounds = b;		} +    void    setObscureMOAP(bool b)  { mObscureMOAP = b; }  	void	setDrawDistance(F32 dist)	{ mDrawDistance = dist; }  	void	setSalePrice(S32 price)		{ mSalePrice = price; } @@ -517,6 +518,8 @@ public:  	BOOL	getAllowGroupAVSounds()	const	{ return mAllowGroupAVSounds;	}   	BOOL	getAllowAnyAVSounds()	const	{ return mAllowAnyAVSounds;		} +  +    bool    getObscureMOAP() const { return mObscureMOAP; }  	F32		getDrawDistance() const			{ return mDrawDistance; }  	S32		getSalePrice() const			{ return mSalePrice; } @@ -670,6 +673,7 @@ protected:      BOOL                mRegionAllowEnvironmentOverride;  	BOOL				mAllowGroupAVSounds;  	BOOL				mAllowAnyAVSounds; +    bool                mObscureMOAP;      S32                 mCurrentEnvironmentVersion;      bool                mIsDefaultDayCycle; | 
