Merge branch 'master' into httptests
commit
a63aef978a
|
@ -127,7 +127,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
|||
|
||||
public void PostInitialise()
|
||||
{
|
||||
((ISharedRegionModule)m_LocalGridService).PostInitialise();
|
||||
if (m_Enabled)
|
||||
((ISharedRegionModule)m_LocalGridService).PostInitialise();
|
||||
}
|
||||
|
||||
public void Close()
|
||||
|
@ -137,14 +138,16 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
|||
public void AddRegion(Scene scene)
|
||||
{
|
||||
if (m_Enabled)
|
||||
{
|
||||
scene.RegisterModuleInterface<IGridService>(this);
|
||||
|
||||
((ISharedRegionModule)m_LocalGridService).AddRegion(scene);
|
||||
((ISharedRegionModule)m_LocalGridService).AddRegion(scene);
|
||||
}
|
||||
}
|
||||
|
||||
public void RemoveRegion(Scene scene)
|
||||
{
|
||||
((ISharedRegionModule)m_LocalGridService).RemoveRegion(scene);
|
||||
if (m_Enabled)
|
||||
((ISharedRegionModule)m_LocalGridService).RemoveRegion(scene);
|
||||
}
|
||||
|
||||
public void RegionLoaded(Scene scene)
|
||||
|
|
|
@ -4671,9 +4671,10 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
ControllingClient.ActiveGroupName = cAgent.ActiveGroupName;
|
||||
ControllingClient.ActiveGroupPowers = 0;
|
||||
Grouptitle = cAgent.ActiveGroupTitle;
|
||||
int ngroups = cAgent.Groups.Length;
|
||||
if(ngroups > 0)
|
||||
|
||||
if(cAgent.Groups != null && cAgent.Groups.Length > 0)
|
||||
{
|
||||
int ngroups = cAgent.Groups.Length;
|
||||
Dictionary<UUID, ulong> gpowers = new Dictionary<UUID, ulong>(ngroups);
|
||||
for(int i = 0 ; i < ngroups; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue