diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index b758b8f..da10505 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2261,7 +2261,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2261 | } | 2261 | } |
2262 | 2262 | ||
2263 | /// <summary> | 2263 | /// <summary> |
2264 | /// Send metadata about the root prim (name, description, sale price, etc.) to a client. | 2264 | /// Send metadata about the root prim (name, description, sale price, permissions, etc.) to a client. |
2265 | /// </summary> | 2265 | /// </summary> |
2266 | /// <param name="client"></param> | 2266 | /// <param name="client"></param> |
2267 | public void SendPropertiesToClient(IClientAPI client) | 2267 | public void SendPropertiesToClient(IClientAPI client) |
@@ -2886,6 +2886,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
2886 | parts[i].UpdatePermissions(AgentID, field, localID, mask, addRemTF); | 2886 | parts[i].UpdatePermissions(AgentID, field, localID, mask, addRemTF); |
2887 | 2887 | ||
2888 | HasGroupChanged = true; | 2888 | HasGroupChanged = true; |
2889 | |||
2890 | // Send the group's properties to all clients once all parts are updated | ||
2891 | IClientAPI client; | ||
2892 | if (Scene.TryGetClient(AgentID, out client)) | ||
2893 | SendPropertiesToClient(client); | ||
2889 | } | 2894 | } |
2890 | 2895 | ||
2891 | #endregion | 2896 | #endregion |