diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index c3e3dfc..6388bc1 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -2049,15 +2049,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
2049 | } | 2049 | } |
2050 | 2050 | ||
2051 | m_scene.UnlinkSceneObject(objectGroup.UUID, true); | 2051 | m_scene.UnlinkSceneObject(objectGroup.UUID, true); |
2052 | // objectGroup.Children.Clear(); | 2052 | objectGroup.Children.Clear(); |
2053 | |||
2054 | // Can't do this yet since backup still makes use of the root part without any synchronization | ||
2053 | // objectGroup.m_rootPart = null; | 2055 | // objectGroup.m_rootPart = null; |
2054 | 2056 | ||
2055 | // TODO Deleting the original group object may cause problems later on if they have already | ||
2056 | // made it into the update queue. However, sending out updates for those parts is now | ||
2057 | // spurious, so it would be good not to send them at some point. | ||
2058 | // The traffic caused is always going to be pretty minor, so it's not high priority | ||
2059 | //objectGroup.DeleteGroup(); | ||
2060 | |||
2061 | AttachToBackup(); | 2057 | AttachToBackup(); |
2062 | HasGroupChanged = true; | 2058 | HasGroupChanged = true; |
2063 | ScheduleGroupForFullUpdate(); | 2059 | ScheduleGroupForFullUpdate(); |