Addresses mantis #4789. Not really a fix, because the event is harmless anyway. Just shouldn't happen normally.
parent
a61d817978
commit
3dbc736049
|
@ -272,7 +272,7 @@ namespace OpenSim.Server.Handlers.Simulation
|
||||||
//responsedata["str_response_string"] = OSDParser.SerializeJsonString(resp); ??? instead
|
//responsedata["str_response_string"] = OSDParser.SerializeJsonString(resp); ??? instead
|
||||||
}
|
}
|
||||||
|
|
||||||
// subclasses cab override this
|
// subclasses can override this
|
||||||
protected virtual bool UpdateAgent(GridRegion destination, AgentData agent)
|
protected virtual bool UpdateAgent(GridRegion destination, AgentData agent)
|
||||||
{
|
{
|
||||||
return m_SimulationService.UpdateAgent(destination, agent);
|
return m_SimulationService.UpdateAgent(destination, agent);
|
||||||
|
@ -280,6 +280,12 @@ namespace OpenSim.Server.Handlers.Simulation
|
||||||
|
|
||||||
protected virtual void DoAgentGet(Hashtable request, Hashtable responsedata, UUID id, UUID regionID)
|
protected virtual void DoAgentGet(Hashtable request, Hashtable responsedata, UUID id, UUID regionID)
|
||||||
{
|
{
|
||||||
|
if (m_SimulationService == null)
|
||||||
|
{
|
||||||
|
m_log.Debug("[AGENT HANDLER]: Agent GET called. Harmless but useless.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
GridRegion destination = new GridRegion();
|
GridRegion destination = new GridRegion();
|
||||||
destination.RegionID = regionID;
|
destination.RegionID = regionID;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue