aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-07-02 17:35:33 +0000
committerJustin Clarke Casey2008-07-02 17:35:33 +0000
commit79f937612ee0544324fff1a04762b4e86136a29f (patch)
tree06bf874d20abda488b982ef3d587cdbfdd261418 /OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs
parentAdds experimental Meshmerizer support for "prim torture" effects of sphere di... (diff)
downloadopensim-SC_OLD-79f937612ee0544324fff1a04762b4e86136a29f.zip
opensim-SC_OLD-79f937612ee0544324fff1a04762b4e86136a29f.tar.gz
opensim-SC_OLD-79f937612ee0544324fff1a04762b4e86136a29f.tar.bz2
opensim-SC_OLD-79f937612ee0544324fff1a04762b4e86136a29f.tar.xz
* Twiddle with archive asset extensions yet again
* Reintroducing asset type but this time in a long form, and with _ rather than .
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs
index 610adfb..15bc265 100644
--- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs
+++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs
@@ -119,7 +119,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
119 { 119 {
120 // Right now we're nastily obtaining the lluuid from the filename 120 // Right now we're nastily obtaining the lluuid from the filename
121 string filename = assetPath.Remove(0, ArchiveConstants.ASSETS_PATH.Length); 121 string filename = assetPath.Remove(0, ArchiveConstants.ASSETS_PATH.Length);
122 string extension = filename.Substring(filename.LastIndexOf(".")); 122 string extension = filename.Substring(filename.LastIndexOf("_"));
123 string uuid = filename.Remove(filename.Length - extension.Length); 123 string uuid = filename.Remove(filename.Length - extension.Length);
124 124
125 if (ArchiveConstants.EXTENSION_TO_ASSET_TYPE.ContainsKey(extension)) 125 if (ArchiveConstants.EXTENSION_TO_ASSET_TYPE.ContainsKey(extension))