diff options
Diffstat (limited to 'OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs')
-rw-r--r-- | OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs b/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs index 9497a2e..6ab1b58 100644 --- a/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs +++ b/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs | |||
@@ -63,11 +63,11 @@ namespace OpenSim.Framework.AssetLoader.Filesystem | |||
63 | 63 | ||
64 | protected static void LoadAsset(AssetBase info, string path) | 64 | protected static void LoadAsset(AssetBase info, string path) |
65 | { | 65 | { |
66 | bool image = | 66 | // bool image = |
67 | (info.Type == (sbyte)AssetType.Texture || | 67 | // (info.Type == (sbyte)AssetType.Texture || |
68 | info.Type == (sbyte)AssetType.TextureTGA || | 68 | // info.Type == (sbyte)AssetType.TextureTGA || |
69 | info.Type == (sbyte)AssetType.ImageJPEG || | 69 | // info.Type == (sbyte)AssetType.ImageJPEG || |
70 | info.Type == (sbyte)AssetType.ImageTGA); | 70 | // info.Type == (sbyte)AssetType.ImageTGA); |
71 | 71 | ||
72 | FileInfo fInfo = new FileInfo(path); | 72 | FileInfo fInfo = new FileInfo(path); |
73 | long numBytes = fInfo.Length; | 73 | long numBytes = fInfo.Length; |