aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneManager.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-12-19 19:47:11 +0000
committerJustin Clarke Casey2008-12-19 19:47:11 +0000
commitaa497a18678c6cc9a7425986c5bf5ca91415bd1d (patch)
tree71539fcfec1b22b057b5553776fe24a940fa6b6b /OpenSim/Region/Environment/Scenes/SceneManager.cs
parentminor: Remove some serialization module scene wrappers (diff)
downloadopensim-SC_OLD-aa497a18678c6cc9a7425986c5bf5ca91415bd1d.zip
opensim-SC_OLD-aa497a18678c6cc9a7425986c5bf5ca91415bd1d.tar.gz
opensim-SC_OLD-aa497a18678c6cc9a7425986c5bf5ca91415bd1d.tar.bz2
opensim-SC_OLD-aa497a18678c6cc9a7425986c5bf5ca91415bd1d.tar.xz
* refactor: move saved named prims to xml2 method out into the serialization module
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneManager.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneManager.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs
index 9e83f25..d585b48 100644
--- a/OpenSim/Region/Environment/Scenes/SceneManager.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs
@@ -215,7 +215,9 @@ namespace OpenSim.Region.Environment.Scenes
215 215
216 public void SaveNamedPrimsToXml2(string primName, string filename) 216 public void SaveNamedPrimsToXml2(string primName, string filename)
217 { 217 {
218 CurrentOrFirstScene.SaveNamedPrimsToXml2( primName, filename); 218 IRegionSerialiserModule serialiser = CurrentOrFirstScene.RequestModuleInterface<IRegionSerialiserModule>();
219 if (serialiser != null)
220 serialiser.SaveNamedPrimsToXml2(CurrentOrFirstScene, primName, filename);
219 } 221 }
220 222
221 /// <summary> 223 /// <summary>