diff options
author | Justin Clarke Casey | 2008-08-30 21:05:09 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-08-30 21:05:09 +0000 |
commit | d2344b5626d0211dfd4b88f5c26319042df80b75 (patch) | |
tree | f8bad76ff97596aee5f9c4d18b1820d3a0f3abdc /OpenSim/Region/Environment/Modules/World/Archiver/AssetsArchiver.cs | |
parent | * Added new MySQLSuperManager support for the grid servers. (diff) | |
download | opensim-SC_OLD-d2344b5626d0211dfd4b88f5c26319042df80b75.zip opensim-SC_OLD-d2344b5626d0211dfd4b88f5c26319042df80b75.tar.gz opensim-SC_OLD-d2344b5626d0211dfd4b88f5c26319042df80b75.tar.bz2 opensim-SC_OLD-d2344b5626d0211dfd4b88f5c26319042df80b75.tar.xz |
* Oops, add landmarks to region archive loading/saving
* Hopefully this will resolve mantis 2049
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/AssetsArchiver.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/AssetsArchiver.cs b/OpenSim/Region/Environment/Modules/World/Archiver/AssetsArchiver.cs index 708bed3..73212ff 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/AssetsArchiver.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/AssetsArchiver.cs | |||
@@ -40,7 +40,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
40 | /// </summary> | 40 | /// </summary> |
41 | public class AssetsArchiver | 41 | public class AssetsArchiver |
42 | { | 42 | { |
43 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 43 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
44 | 44 | ||
45 | /// <summary> | 45 | /// <summary> |
46 | /// Archive assets | 46 | /// Archive assets |
@@ -127,6 +127,12 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
127 | { | 127 | { |
128 | extension = ArchiveConstants.ASSET_TYPE_TO_EXTENSION[asset.Type]; | 128 | extension = ArchiveConstants.ASSET_TYPE_TO_EXTENSION[asset.Type]; |
129 | } | 129 | } |
130 | else | ||
131 | { | ||
132 | m_log.ErrorFormat( | ||
133 | "[ARCHIVER]: Unrecognized asset type {0} with uuid {1}. This asset will be saved but not reloaded", | ||
134 | asset.Type, asset.ID); | ||
135 | } | ||
130 | 136 | ||
131 | archive.AddFile( | 137 | archive.AddFile( |
132 | ArchiveConstants.ASSETS_PATH + uuid.ToString() + extension, | 138 | ArchiveConstants.ASSETS_PATH + uuid.ToString() + extension, |