diff options
Diffstat (limited to 'OpenSim/Framework/AssetLoader')
-rw-r--r-- | OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs b/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs index d15acf3..bffced8 100644 --- a/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs +++ b/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs | |||
@@ -67,7 +67,7 @@ namespace OpenSim.Framework.AssetLoader.Filesystem | |||
67 | 67 | ||
68 | protected void LoadAsset(AssetBase info, bool image, string filename) | 68 | protected void LoadAsset(AssetBase info, bool image, string filename) |
69 | { | 69 | { |
70 | string dataPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "assets"); //+ folder; | 70 | string dataPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "assets/OpenSimAssetSet"); //+ folder; |
71 | string fileName = Path.Combine(dataPath, filename); | 71 | string fileName = Path.Combine(dataPath, filename); |
72 | FileInfo fInfo = new FileInfo(fileName); | 72 | FileInfo fInfo = new FileInfo(fileName); |
73 | long numBytes = fInfo.Length; | 73 | long numBytes = fInfo.Length; |
@@ -85,7 +85,7 @@ namespace OpenSim.Framework.AssetLoader.Filesystem | |||
85 | { | 85 | { |
86 | List<AssetBase> assets = new List<AssetBase>(); | 86 | List<AssetBase> assets = new List<AssetBase>(); |
87 | // System.Console.WriteLine("trying loading asset into database"); | 87 | // System.Console.WriteLine("trying loading asset into database"); |
88 | string filePath = Path.Combine(Util.configDir(), "assets/OpenSimAssetSet.xml"); | 88 | string filePath = Path.Combine(Util.configDir(), "assets/OpenSimAssetSet/OpenSimAssetSet.xml"); |
89 | if (File.Exists(filePath)) | 89 | if (File.Exists(filePath)) |
90 | { | 90 | { |
91 | try | 91 | try |