aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AssetLoader
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/AssetLoader')
-rw-r--r--OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs b/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs
index d6ce0c5..59db3d6 100644
--- a/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs
+++ b/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs
@@ -99,7 +99,7 @@ namespace OpenSim.Framework.AssetLoader.Filesystem
99 99
100 for (int i = 0; i < source.Configs.Count; i++) 100 for (int i = 0; i < source.Configs.Count; i++)
101 { 101 {
102 assetSetPath = source.Configs[i].GetString("file", ""); 102 assetSetPath = source.Configs[i].GetString("file", String.Empty);
103 103
104 LoadXmlAssetSet(Path.Combine(Util.assetsDir(), assetSetPath), assets); 104 LoadXmlAssetSet(Path.Combine(Util.assetsDir(), assetSetPath), assets);
105 } 105 }
@@ -138,10 +138,10 @@ namespace OpenSim.Framework.AssetLoader.Filesystem
138 for (int i = 0; i < source.Configs.Count; i++) 138 for (int i = 0; i < source.Configs.Count; i++)
139 { 139 {
140 string assetIdStr = source.Configs[i].GetString("assetID", LLUUID.Random().ToString()); 140 string assetIdStr = source.Configs[i].GetString("assetID", LLUUID.Random().ToString());
141 string name = source.Configs[i].GetString("name", ""); 141 string name = source.Configs[i].GetString("name", String.Empty);
142 sbyte type = (sbyte) source.Configs[i].GetInt("assetType", 0); 142 sbyte type = (sbyte) source.Configs[i].GetInt("assetType", 0);
143 sbyte invType = (sbyte) source.Configs[i].GetInt("inventoryType", 0); 143 sbyte invType = (sbyte) source.Configs[i].GetInt("inventoryType", 0);
144 string assetPath = Path.Combine(dir, source.Configs[i].GetString("fileName", "")); 144 string assetPath = Path.Combine(dir, source.Configs[i].GetString("fileName", String.Empty));
145 145
146 AssetBase newAsset = CreateAsset(assetIdStr, name, assetPath, false); 146 AssetBase newAsset = CreateAsset(assetIdStr, name, assetPath, false);
147 147