diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index eaf04ea..70cd45e 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1880,28 +1880,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
1880 | return false; | 1880 | return false; |
1881 | } | 1881 | } |
1882 | 1882 | ||
1883 | public void SaveNamedPrimsToXml2(string primName, string fileName) | ||
1884 | { | ||
1885 | m_log.InfoFormat( | ||
1886 | "[SCENE]: Saving prims with name {0} in xml2 format for region {1} to {2}", primName, RegionInfo.RegionName, fileName); | ||
1887 | |||
1888 | List<EntityBase> entityList = GetEntities(); | ||
1889 | List<EntityBase> primList = new List<EntityBase>(); | ||
1890 | |||
1891 | foreach (EntityBase ent in entityList) | ||
1892 | { | ||
1893 | if (ent is SceneObjectGroup) | ||
1894 | { | ||
1895 | if (ent.Name == primName) | ||
1896 | { | ||
1897 | primList.Add(ent); | ||
1898 | } | ||
1899 | } | ||
1900 | } | ||
1901 | |||
1902 | m_serialiser.SavePrimListToXml2(primList, fileName); | ||
1903 | } | ||
1904 | |||
1905 | /// <summary> | 1883 | /// <summary> |
1906 | /// Move the given scene object into a new region depending on which region its absolute position has moved | 1884 | /// Move the given scene object into a new region depending on which region its absolute position has moved |
1907 | /// into. | 1885 | /// into. |