Guarding the methods under if (m_Enabled)
parent
cde6b0d5ab
commit
689eea3bad
|
@ -135,6 +135,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
||||||
|
|
||||||
public void PostInitialise()
|
public void PostInitialise()
|
||||||
{
|
{
|
||||||
|
if (m_Enabled)
|
||||||
((ISharedRegionModule)m_GridServiceConnector).PostInitialise();
|
((ISharedRegionModule)m_GridServiceConnector).PostInitialise();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,10 +157,13 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RemoveRegion(Scene scene)
|
public void RemoveRegion(Scene scene)
|
||||||
|
{
|
||||||
|
if (m_Enabled)
|
||||||
{
|
{
|
||||||
m_LocalScenes.Remove(scene.RegionInfo.RegionHandle);
|
m_LocalScenes.Remove(scene.RegionInfo.RegionHandle);
|
||||||
((ISharedRegionModule)m_GridServiceConnector).RemoveRegion(scene);
|
((ISharedRegionModule)m_GridServiceConnector).RemoveRegion(scene);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void RegionLoaded(Scene scene)
|
public void RegionLoaded(Scene scene)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue