diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs index 4a51398..8c623b1 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs | |||
@@ -273,7 +273,12 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
273 | foreach (EntityBase entity in entities) | 273 | foreach (EntityBase entity in entities) |
274 | { | 274 | { |
275 | if (entity is SceneObjectGroup) | 275 | if (entity is SceneObjectGroup) |
276 | sceneObjects.Add((SceneObjectGroup)entity); | 276 | { |
277 | SceneObjectGroup sceneObject = (SceneObjectGroup)entity; | ||
278 | |||
279 | if (sceneObject.RootPart != null && !sceneObject.RootPart.IsAttachment) | ||
280 | sceneObjects.Add((SceneObjectGroup)entity); | ||
281 | } | ||
277 | } | 282 | } |
278 | 283 | ||
279 | foreach (SceneObjectGroup sceneObject in sceneObjects) | 284 | foreach (SceneObjectGroup sceneObject in sceneObjects) |