diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index f8487e7..c2ba893 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -142,6 +142,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
142 | protected IDialogModule m_dialogModule; | 142 | protected IDialogModule m_dialogModule; |
143 | protected IEntityTransferModule m_teleportModule; | 143 | protected IEntityTransferModule m_teleportModule; |
144 | protected ICapabilitiesModule m_capsModule; | 144 | protected ICapabilitiesModule m_capsModule; |
145 | protected IGroupsModule m_groupsModule; | ||
145 | 146 | ||
146 | /// <summary> | 147 | /// <summary> |
147 | /// Current scene frame number | 148 | /// Current scene frame number |
@@ -1206,6 +1207,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1206 | m_dialogModule = RequestModuleInterface<IDialogModule>(); | 1207 | m_dialogModule = RequestModuleInterface<IDialogModule>(); |
1207 | m_capsModule = RequestModuleInterface<ICapabilitiesModule>(); | 1208 | m_capsModule = RequestModuleInterface<ICapabilitiesModule>(); |
1208 | m_teleportModule = RequestModuleInterface<IEntityTransferModule>(); | 1209 | m_teleportModule = RequestModuleInterface<IEntityTransferModule>(); |
1210 | m_groupsModule = RequestModuleInterface<IGroupsModule>(); | ||
1209 | } | 1211 | } |
1210 | 1212 | ||
1211 | #endregion | 1213 | #endregion |
@@ -2856,6 +2858,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2856 | client.OnObjectDescription += m_sceneGraph.PrimDescription; | 2858 | client.OnObjectDescription += m_sceneGraph.PrimDescription; |
2857 | client.OnObjectIncludeInSearch += m_sceneGraph.MakeObjectSearchable; | 2859 | client.OnObjectIncludeInSearch += m_sceneGraph.MakeObjectSearchable; |
2858 | client.OnObjectOwner += ObjectOwner; | 2860 | client.OnObjectOwner += ObjectOwner; |
2861 | client.OnObjectGroupRequest += HandleObjectGroupUpdate; | ||
2859 | } | 2862 | } |
2860 | 2863 | ||
2861 | public virtual void SubscribeToClientPrimRezEvents(IClientAPI client) | 2864 | public virtual void SubscribeToClientPrimRezEvents(IClientAPI client) |
@@ -3675,15 +3678,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
3675 | m_log.ErrorFormat("[CONNECTION BEGIN]: Estate Settings is null!"); | 3678 | m_log.ErrorFormat("[CONNECTION BEGIN]: Estate Settings is null!"); |
3676 | } | 3679 | } |
3677 | 3680 | ||
3678 | IGroupsModule groupsModule = | ||
3679 | RequestModuleInterface<IGroupsModule>(); | ||
3680 | |||
3681 | List<UUID> agentGroups = new List<UUID>(); | 3681 | List<UUID> agentGroups = new List<UUID>(); |
3682 | 3682 | ||
3683 | if (groupsModule != null) | 3683 | if (m_groupsModule != null) |
3684 | { | 3684 | { |
3685 | GroupMembershipData[] GroupMembership = | 3685 | GroupMembershipData[] GroupMembership = m_groupsModule.GetMembershipData(agent.AgentID); |
3686 | groupsModule.GetMembershipData(agent.AgentID); | ||
3687 | 3686 | ||
3688 | if (GroupMembership != null) | 3687 | if (GroupMembership != null) |
3689 | { | 3688 | { |