mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Prevent object loss and positioning outside the region with failed object sim
crossings
This commit is contained in:
@@ -433,11 +433,14 @@ namespace OpenSim.Services.Connectors.Simulation
|
||||
args["destination_name"] = OSD.FromString(destination.RegionName);
|
||||
args["destination_uuid"] = OSD.FromString(destination.RegionID.ToString());
|
||||
|
||||
WebUtil.PostToService(uri, args, 40000);
|
||||
OSDMap response = WebUtil.PostToService(uri, args, 40000);
|
||||
if (response["Success"] == "False")
|
||||
return false;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.WarnFormat("[REMOTE SIMULATION CONNECTOR] CreateObject failed with exception; {0}",e.ToString());
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user