diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs index 6ad11ee..d3f0cbc 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | |||
@@ -26,7 +26,9 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenSim.Region.Environment.Scenes; | 28 | using OpenSim.Region.Environment.Scenes; |
29 | using OpenSim.Region.Environment.Modules.World.Serialiser; | ||
29 | using System; | 30 | using System; |
31 | using System.IO; | ||
30 | using System.Reflection; | 32 | using System.Reflection; |
31 | using log4net; | 33 | using log4net; |
32 | 34 | ||
@@ -85,7 +87,8 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
85 | // Reload serialized prims | 87 | // Reload serialized prims |
86 | m_log.InfoFormat("[ARCHIVER]: Loading prim data"); | 88 | m_log.InfoFormat("[ARCHIVER]: Loading prim data"); |
87 | 89 | ||
88 | //m_scene.LoadPrimsFromXml2( | 90 | IRegionSerialiser serialiser = m_scene.RequestModuleInterface<IRegionSerialiser>(); |
91 | serialiser.LoadPrimsFromXml2(m_scene, new StringReader(serializedPrims)); | ||
89 | } | 92 | } |
90 | } | 93 | } |
91 | } | 94 | } |