diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs index 238863e..a22f619 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs | |||
@@ -422,6 +422,12 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
422 | string extension = filename.Substring(i); | 422 | string extension = filename.Substring(i); |
423 | string uuid = filename.Remove(filename.Length - extension.Length); | 423 | string uuid = filename.Remove(filename.Length - extension.Length); |
424 | 424 | ||
425 | if (m_scene.AssetService.GetMetadata(uuid) != null) | ||
426 | { | ||
427 | // m_log.DebugFormat("[ARCHIVER]: found existing asset {0}",uuid); | ||
428 | return true; | ||
429 | } | ||
430 | |||
425 | if (ArchiveConstants.EXTENSION_TO_ASSET_TYPE.ContainsKey(extension)) | 431 | if (ArchiveConstants.EXTENSION_TO_ASSET_TYPE.ContainsKey(extension)) |
426 | { | 432 | { |
427 | sbyte assetType = ArchiveConstants.EXTENSION_TO_ASSET_TYPE[extension]; | 433 | sbyte assetType = ArchiveConstants.EXTENSION_TO_ASSET_TYPE[extension]; |