Bug fix in releasing agent. In Scene, always use SimulatonService, and not m_SimulationService, because it may be null...
parent
f5fb14ff52
commit
e90a5895ad
|
@ -251,7 +251,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation
|
||||||
return s.IncomingReleaseAgent(id);
|
return s.IncomingReleaseAgent(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//m_log.Debug("[LOCAL COMMS]: region not found in SendReleaseAgent");
|
//m_log.Debug("[LOCAL COMMS]: region not found in SendReleaseAgent " + origin);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -262,7 +262,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation
|
||||||
|
|
||||||
foreach (Scene s in m_sceneList)
|
foreach (Scene s in m_sceneList)
|
||||||
{
|
{
|
||||||
if (s.RegionInfo.RegionHandle == destination.RegionHandle)
|
if (s.RegionInfo.RegionID == destination.RegionID)
|
||||||
{
|
{
|
||||||
//m_log.Debug("[LOCAL COMMS]: Found region to SendCloseAgent");
|
//m_log.Debug("[LOCAL COMMS]: Found region to SendCloseAgent");
|
||||||
return s.IncomingCloseAgent(id);
|
return s.IncomingCloseAgent(id);
|
||||||
|
|
|
@ -283,7 +283,7 @@ namespace OpenSim.Region.Framework.Scenes.Hypergrid
|
||||||
m_scene.SimulationService.UpdateAgent(reg, agent);
|
m_scene.SimulationService.UpdateAgent(reg, agent);
|
||||||
|
|
||||||
m_log.DebugFormat(
|
m_log.DebugFormat(
|
||||||
"[CAPS]: Sending new CAPS seed url {0} to client {1}", agentCircuit.CapsPath, avatar.UUID);
|
"[CAPS]: Sending new CAPS seed url {0} to client {1}", capsPath, avatar.UUID);
|
||||||
|
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|
|
@ -3791,7 +3791,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
public void SendReleaseAgent(UUID origin, UUID id, string uri)
|
public void SendReleaseAgent(UUID origin, UUID id, string uri)
|
||||||
{
|
{
|
||||||
//m_interregionCommsOut.SendReleaseAgent(regionHandle, id, uri);
|
//m_interregionCommsOut.SendReleaseAgent(regionHandle, id, uri);
|
||||||
m_simulationService.ReleaseAgent(origin, id, uri);
|
SimulationService.ReleaseAgent(origin, id, uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -59,13 +59,13 @@ namespace OpenSim.Server.Handlers.Simulation
|
||||||
|
|
||||||
public Hashtable Handler(Hashtable request)
|
public Hashtable Handler(Hashtable request)
|
||||||
{
|
{
|
||||||
//m_log.Debug("[CONNECTION DEBUGGING]: AgentHandler Called");
|
m_log.Debug("[CONNECTION DEBUGGING]: AgentHandler Called");
|
||||||
|
|
||||||
//m_log.Debug("---------------------------");
|
m_log.Debug("---------------------------");
|
||||||
//m_log.Debug(" >> uri=" + request["uri"]);
|
m_log.Debug(" >> uri=" + request["uri"]);
|
||||||
//m_log.Debug(" >> content-type=" + request["content-type"]);
|
m_log.Debug(" >> content-type=" + request["content-type"]);
|
||||||
//m_log.Debug(" >> http-method=" + request["http-method"]);
|
m_log.Debug(" >> http-method=" + request["http-method"]);
|
||||||
//m_log.Debug("---------------------------\n");
|
m_log.Debug("---------------------------\n");
|
||||||
|
|
||||||
Hashtable responsedata = new Hashtable();
|
Hashtable responsedata = new Hashtable();
|
||||||
responsedata["content_type"] = "text/html";
|
responsedata["content_type"] = "text/html";
|
||||||
|
@ -307,7 +307,7 @@ namespace OpenSim.Server.Handlers.Simulation
|
||||||
|
|
||||||
protected virtual void DoAgentDelete(Hashtable request, Hashtable responsedata, UUID id, string action, UUID regionID)
|
protected virtual void DoAgentDelete(Hashtable request, Hashtable responsedata, UUID id, string action, UUID regionID)
|
||||||
{
|
{
|
||||||
//m_log.Debug(" >>> DoDelete action:" + action + "; regionHandle:" + regionHandle);
|
m_log.Debug(" >>> DoDelete action:" + action + "; RegionID:" + regionID);
|
||||||
|
|
||||||
GridRegion destination = new GridRegion();
|
GridRegion destination = new GridRegion();
|
||||||
destination.RegionID = regionID;
|
destination.RegionID = regionID;
|
||||||
|
|
Loading…
Reference in New Issue