aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs7
-rw-r--r--OpenSim/Region/Environment/Scenes/EntityBase.cs2
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs1
3 files changed, 7 insertions, 3 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)
diff --git a/OpenSim/Region/Environment/Scenes/EntityBase.cs b/OpenSim/Region/Environment/Scenes/EntityBase.cs
index afdbb91..7a3b9a7 100644
--- a/OpenSim/Region/Environment/Scenes/EntityBase.cs
+++ b/OpenSim/Region/Environment/Scenes/EntityBase.cs
@@ -64,7 +64,7 @@ namespace OpenSim.Region.Environment.Scenes
64 } 64 }
65 65
66 /// <summary> 66 /// <summary>
67 /// Signals whether this group was in a scene but has since been deleted from it. 67 /// Signals whether this entity was in a scene but has since been removed from it.
68 /// </summary> 68 /// </summary>
69 public bool IsDeleted 69 public bool IsDeleted
70 { 70 {
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 98c7fb5..f4b6685 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -741,7 +741,6 @@ namespace OpenSim.Region.Environment.Scenes
741 { 741 {
742 m_scene.PhysicsScene.RemovePrim(m_rootPart.PhysActor); 742 m_scene.PhysicsScene.RemovePrim(m_rootPart.PhysActor);
743 m_rootPart.PhysActor = null; 743 m_rootPart.PhysActor = null;
744
745 } 744 }
746 745
747 AbsolutePosition = AttachOffset; 746 AbsolutePosition = AttachOffset;