diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 635a989..44e4c81 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -2510,5 +2510,16 @@ namespace OpenSim.Region.Environment.Scenes | |||
2510 | } | 2510 | } |
2511 | } | 2511 | } |
2512 | } | 2512 | } |
2513 | public void SetGroup(LLUUID GroupID, IClientAPI client) | ||
2514 | { | ||
2515 | lock (m_parts) | ||
2516 | { | ||
2517 | foreach (SceneObjectPart part in m_parts.Values) | ||
2518 | { | ||
2519 | part.SetGroup(GroupID, client); | ||
2520 | } | ||
2521 | } | ||
2522 | ScheduleGroupForFullUpdate(); | ||
2523 | } | ||
2513 | } | 2524 | } |
2514 | } | 2525 | } |