diff options
| author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-05-10 16:09:25 +0300 | 
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-05-10 16:09:25 +0300 | 
| commit | b1243c55e5579f72e3dd9dafe2b53173349a047f (patch) | |
| tree | 9d9e0b018059483973a8e6f76644b0875d2534a3 /indra/newview/llviewerparcelmgr.cpp | |
| parent | 042930b59a82f706f16e4b67a683697aed65112f (diff) | |
| parent | 7f5e6cea124e1193b199a3eabd50bdab96340c13 (diff) | |
Merged in oz_linden/maint-5974
Diffstat (limited to 'indra/newview/llviewerparcelmgr.cpp')
| -rwxr-xr-x | indra/newview/llviewerparcelmgr.cpp | 12 | 
1 files changed, 9 insertions, 3 deletions
diff --git a/indra/newview/llviewerparcelmgr.cpp b/indra/newview/llviewerparcelmgr.cpp index aafb6b4d12..dddfb6745e 100755 --- a/indra/newview/llviewerparcelmgr.cpp +++ b/indra/newview/llviewerparcelmgr.cpp @@ -67,6 +67,7 @@  #include "roles_constants.h"  #include "llweb.h"  #include "llvieweraudio.h" +#include "llcorehttputil.h"  const F32 PARCEL_COLLISION_DRAW_SECS = 1.f; @@ -1286,10 +1287,13 @@ const std::string& LLViewerParcelMgr::getAgentParcelName() const  void LLViewerParcelMgr::sendParcelPropertiesUpdate(LLParcel* parcel, bool use_agent_region)  { -	if(!parcel) return; +	if(!parcel)  +        return;  	LLViewerRegion *region = use_agent_region ? gAgent.getRegion() : LLWorld::getInstance()->getRegionFromPosGlobal( mWestSouth ); -	if (!region) return; +	if (!region)  +        return; +  	//LL_INFOS() << "found region: " << region->getName() << LL_ENDL;  	LLSD body; @@ -1302,7 +1306,9 @@ void LLViewerParcelMgr::sendParcelPropertiesUpdate(LLParcel* parcel, bool use_ag  		parcel->packMessage(body);  		LL_INFOS() << "Sending parcel properties update via capability to: "  			<< url << LL_ENDL; -		LLHTTPClient::post(url, body, new LLHTTPClient::Responder()); + +        LLCoreHttpUtil::HttpCoroutineAdapter::messageHttpPost(url, body, +            "Parcel Properties sent to sim.", "Parcel Properties failed to send to sim.");  	}  	else  	{  | 
