diff options
author | Justin Clarke Casey | 2008-07-21 17:52:53 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-07-21 17:52:53 +0000 |
commit | d9db56d86b3e83eef87ff22fe27d32efba8b0dd7 (patch) | |
tree | 7382e04a5e9941e1f40cd10362d0a68892e96da2 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | * minor: Make it clearer the region on which save and load xml/oar commands a... (diff) | |
download | opensim-SC_OLD-d9db56d86b3e83eef87ff22fe27d32efba8b0dd7.zip opensim-SC_OLD-d9db56d86b3e83eef87ff22fe27d32efba8b0dd7.tar.gz opensim-SC_OLD-d9db56d86b3e83eef87ff22fe27d32efba8b0dd7.tar.bz2 opensim-SC_OLD-d9db56d86b3e83eef87ff22fe27d32efba8b0dd7.tar.xz |
* minor: stick filename being loaded/saved from in save/load xml/oar information messages
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 067d247..626aaaa 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1742,28 +1742,28 @@ namespace OpenSim.Region.Environment.Scenes | |||
1742 | 1742 | ||
1743 | public void LoadPrimsFromXml(string fileName, bool newIdsFlag, LLVector3 loadOffset) | 1743 | public void LoadPrimsFromXml(string fileName, bool newIdsFlag, LLVector3 loadOffset) |
1744 | { | 1744 | { |
1745 | m_log.InfoFormat("[SCENE]: Loading prims in xml format to region {0}", RegionInfo.RegionName); | 1745 | m_log.InfoFormat("[SCENE]: Loading prims in xml format to region {0} from {1}", RegionInfo.RegionName); |
1746 | 1746 | ||
1747 | m_serialiser.LoadPrimsFromXml(this, fileName, newIdsFlag, loadOffset); | 1747 | m_serialiser.LoadPrimsFromXml(this, fileName, newIdsFlag, loadOffset); |
1748 | } | 1748 | } |
1749 | 1749 | ||
1750 | public void SavePrimsToXml(string fileName) | 1750 | public void SavePrimsToXml(string fileName) |
1751 | { | 1751 | { |
1752 | m_log.InfoFormat("[SCENE]: Saving prims in xml2 format for region {0}", RegionInfo.RegionName); | 1752 | m_log.InfoFormat("[SCENE]: Saving prims in xml2 format for region {0} to {1}", RegionInfo.RegionName, fileName); |
1753 | 1753 | ||
1754 | m_serialiser.SavePrimsToXml(this, fileName); | 1754 | m_serialiser.SavePrimsToXml(this, fileName); |
1755 | } | 1755 | } |
1756 | 1756 | ||
1757 | public void LoadPrimsFromXml2(string fileName) | 1757 | public void LoadPrimsFromXml2(string fileName) |
1758 | { | 1758 | { |
1759 | m_log.InfoFormat("[SCENE]: Loading prims in xml2 format to region {0}", RegionInfo.RegionName); | 1759 | m_log.InfoFormat("[SCENE]: Loading prims in xml2 format to region {0} from {1}", RegionInfo.RegionName, fileName); |
1760 | 1760 | ||
1761 | m_serialiser.LoadPrimsFromXml2(this, fileName); | 1761 | m_serialiser.LoadPrimsFromXml2(this, fileName); |
1762 | } | 1762 | } |
1763 | 1763 | ||
1764 | public void SavePrimsToXml2(string fileName) | 1764 | public void SavePrimsToXml2(string fileName) |
1765 | { | 1765 | { |
1766 | m_log.InfoFormat("[SCENE]: Saving prims in xml format for region {0}", RegionInfo.RegionName); | 1766 | m_log.InfoFormat("[SCENE]: Saving prims in xml format for region {0} to {1}", RegionInfo.RegionName, fileName); |
1767 | 1767 | ||
1768 | m_serialiser.SavePrimsToXml2(this, fileName); | 1768 | m_serialiser.SavePrimsToXml2(this, fileName); |
1769 | } | 1769 | } |
@@ -1771,7 +1771,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1771 | 1771 | ||
1772 | public void SaveNamedPrimsToXml2(string primName, string fileName) | 1772 | public void SaveNamedPrimsToXml2(string primName, string fileName) |
1773 | { | 1773 | { |
1774 | m_log.InfoFormat("[SCENE]: Saving prims with name {0} in xml2 format to region {1}", primName, RegionInfo.RegionName); | 1774 | m_log.InfoFormat( |
1775 | "[SCENE]: Saving prims with name {0} in xml2 format for region {1} to {2}", primName, RegionInfo.RegionName, fileName); | ||
1775 | 1776 | ||
1776 | List<EntityBase> entityList = GetEntities(); | 1777 | List<EntityBase> entityList = GetEntities(); |
1777 | List<EntityBase> primList = new List<EntityBase>(); | 1778 | List<EntityBase> primList = new List<EntityBase>(); |
@@ -1797,7 +1798,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1797 | /// <param name="filePath"></param> | 1798 | /// <param name="filePath"></param> |
1798 | public void LoadPrimsFromArchive(string filePath) | 1799 | public void LoadPrimsFromArchive(string filePath) |
1799 | { | 1800 | { |
1800 | m_log.InfoFormat("[SCENE]: Loading archive to region {0}", RegionInfo.RegionName); | 1801 | m_log.InfoFormat("[SCENE]: Loading archive to region {0} from {1}", RegionInfo.RegionName, filePath); |
1801 | 1802 | ||
1802 | m_archiver.DearchiveRegion(filePath); | 1803 | m_archiver.DearchiveRegion(filePath); |
1803 | } | 1804 | } |
@@ -1808,7 +1809,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1808 | /// <param name="filePath"></param> | 1809 | /// <param name="filePath"></param> |
1809 | public void SavePrimsToArchive(string filePath) | 1810 | public void SavePrimsToArchive(string filePath) |
1810 | { | 1811 | { |
1811 | m_log.InfoFormat("[SCENE]: Writing archive for region {0}", RegionInfo.RegionName); | 1812 | m_log.InfoFormat("[SCENE]: Writing archive for region {0} to {1}", RegionInfo.RegionName, filePath); |
1812 | 1813 | ||
1813 | m_archiver.ArchiveRegion(filePath); | 1814 | m_archiver.ArchiveRegion(filePath); |
1814 | } | 1815 | } |