diff options
author | Justin Clarke Casey | 2008-11-01 21:28:52 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-01 21:28:52 +0000 |
commit | b03e34dd2de8e58f3aaf61dbac71d1e8f99313e8 (patch) | |
tree | d0e0af8fe1a69864a0ab707cb664825f6c393914 /OpenSim/Region/Environment/Modules/World/Archiver | |
parent | Make the IM and friends modules optional. Clean up some code that dealt (diff) | |
download | opensim-SC_OLD-b03e34dd2de8e58f3aaf61dbac71d1e8f99313e8.zip opensim-SC_OLD-b03e34dd2de8e58f3aaf61dbac71d1e8f99313e8.tar.gz opensim-SC_OLD-b03e34dd2de8e58f3aaf61dbac71d1e8f99313e8.tar.bz2 opensim-SC_OLD-b03e34dd2de8e58f3aaf61dbac71d1e8f99313e8.tar.xz |
* Fix http://opensimulator.org/mantis/view.php?id=2517
* Don't save attachments on saving oar, which stops them coming back as ghost prims
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Archiver')
-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) |