diff options
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 08623aa..63c97eb 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -2152,10 +2152,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
2152 | } | 2152 | } |
2153 | } | 2153 | } |
2154 | 2154 | ||
2155 | public void UpdatePermissions(UUID AgentID, byte field, uint localID, uint mask, byte addRemTF) | 2155 | public void UpdatePermissions(UUID AgentID, byte field, uint localID, |
2156 | uint mask, byte addRemTF) | ||
2156 | { | 2157 | { |
2157 | SceneObjectPart updatePart = GetChildPart(localID); | 2158 | foreach (SceneObjectPart part in m_parts.Values) |
2158 | updatePart.UpdatePermissions(AgentID, field, localID, mask, addRemTF); | 2159 | part.UpdatePermissions(AgentID, field, localID, mask, |
2160 | addRemTF); | ||
2161 | |||
2159 | HasGroupChanged = true; | 2162 | HasGroupChanged = true; |
2160 | } | 2163 | } |
2161 | 2164 | ||