If prim region crossing fails then don't delete the prim from the original region
Resolves http://opensimulator.org/mantis/view.php?id=69460.8.0.3
parent
1769e93c42
commit
6a477e044d
|
@ -421,11 +421,18 @@ 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 result = WebUtil.PostToService(uri, args, 40000);
|
||||
|
||||
if (result == null)
|
||||
return false;
|
||||
bool success = result["success"].AsBoolean();
|
||||
if (!success)
|
||||
return false;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.WarnFormat("[REMOTE SIMULATION CONNECTOR] CreateObject failed with exception; {0}",e.ToString());
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue