aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Clients
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Clients')
-rw-r--r--OpenSim/Framework/Communications/Clients/RegionClient.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/Clients/RegionClient.cs b/OpenSim/Framework/Communications/Clients/RegionClient.cs
index fb1dc19..5c2babc 100644
--- a/OpenSim/Framework/Communications/Clients/RegionClient.cs
+++ b/OpenSim/Framework/Communications/Clients/RegionClient.cs
@@ -362,10 +362,12 @@ namespace OpenSim.Framework.Communications.Clients
362 return true; 362 return true;
363 } 363 }
364 364
365 public bool DoCreateObjectCall(RegionInfo region, ISceneObject sog, bool allowScriptCrossing) 365 public bool DoCreateObjectCall(RegionInfo region, ISceneObject sog, string sogXml2, bool allowScriptCrossing)
366 { 366 {
367 ulong regionHandle = GetRegionHandle(region.RegionHandle); 367 ulong regionHandle = GetRegionHandle(region.RegionHandle);
368 string uri = "http://" + region.ExternalEndPoint.Address + ":" + region.HttpPort + "/object/" + sog.UUID + "/" + regionHandle.ToString() + "/"; 368 string uri
369 = "http://" + region.ExternalEndPoint.Address + ":" + region.HttpPort
370 + "/object/" + sog.UUID + "/" + regionHandle.ToString() + "/";
369 //m_log.Debug(" >>> DoCreateChildAgentCall <<< " + uri); 371 //m_log.Debug(" >>> DoCreateChildAgentCall <<< " + uri);
370 372
371 WebRequest ObjectCreateRequest = WebRequest.Create(uri); 373 WebRequest ObjectCreateRequest = WebRequest.Create(uri);
@@ -374,7 +376,7 @@ namespace OpenSim.Framework.Communications.Clients
374 ObjectCreateRequest.Timeout = 10000; 376 ObjectCreateRequest.Timeout = 10000;
375 377
376 OSDMap args = new OSDMap(2); 378 OSDMap args = new OSDMap(2);
377 args["sog"] = OSD.FromString(sog.ToXmlString2()); 379 args["sog"] = OSD.FromString(sogXml2);
378 args["extra"] = OSD.FromString(sog.ExtraToXmlString()); 380 args["extra"] = OSD.FromString(sog.ExtraToXmlString());
379 if (allowScriptCrossing) 381 if (allowScriptCrossing)
380 { 382 {