aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs
index 3799c57..3ef8149 100644
--- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs
+++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs
@@ -50,11 +50,11 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
50 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 50 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
51 51
52 protected IRegionSerialiser m_serialiser; 52 protected IRegionSerialiser m_serialiser;
53 protected List<EntityBase> m_sceneObjects; 53 protected List<SceneObjectGroup> m_sceneObjects;
54 protected string m_savePath; 54 protected string m_savePath;
55 55
56 public ArchiveWriteRequestExecution( 56 public ArchiveWriteRequestExecution(
57 List<EntityBase> sceneObjects, IRegionSerialiser serialiser, string savePath) 57 List<SceneObjectGroup> sceneObjects, IRegionSerialiser serialiser, string savePath)
58 { 58 {
59 m_sceneObjects = sceneObjects; 59 m_sceneObjects = sceneObjects;
60 m_serialiser = serialiser; 60 m_serialiser = serialiser;
@@ -67,10 +67,10 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
67 67
68 TarArchiveWriter archive = new TarArchiveWriter(); 68 TarArchiveWriter archive = new TarArchiveWriter();
69 69
70 foreach (EntityBase entity in m_sceneObjects) 70 foreach (SceneObjectGroup sceneObject in m_sceneObjects)
71 { 71 {
72 // FIXME: I'm fairly sure that all entities are in fact SceneObjectGroups... must fix this 72 //m_log.DebugFormat("[ARCHIVER]: Saving {0} {1}, {2}", entity.Name, entity.UUID, entity.GetType());
73 SceneObjectGroup sceneObject = (SceneObjectGroup)entity; 73
74 LLVector3 position = sceneObject.AbsolutePosition; 74 LLVector3 position = sceneObject.AbsolutePosition;
75 75
76 string serializedObject = m_serialiser.SaveGroupToXml2(sceneObject); 76 string serializedObject = m_serialiser.SaveGroupToXml2(sceneObject);