Short-circuit the grid server lookup for RequestSimulatorData if the region
info is requested for is the local regionavinationmerge
parent
77705145a0
commit
a1074cad5c
|
@ -9147,7 +9147,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
|
||||
string reply = String.Empty;
|
||||
|
||||
GridRegion info = m_ScriptEngine.World.GridService.GetRegionByName(m_ScriptEngine.World.RegionInfo.ScopeID, simulator);
|
||||
GridRegion info;
|
||||
|
||||
if (m_ScriptEngine.World.RegionInfo.RegionName == simulator)
|
||||
info = new GridRegion(m_ScriptEngine.World.RegionInfo);
|
||||
else
|
||||
info = m_ScriptEngine.World.GridService.GetRegionByName(m_ScriptEngine.World.RegionInfo.ScopeID, simulator);
|
||||
|
||||
switch (data)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue