From de243802334c44967273be2d1455a5f191f75955 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 23 Jun 2008 18:01:58 +0000 Subject: * Remove all use of asset.InvType, as outlined in mailing list discussion * This is stage 1, the field will be removed from AssetType and the assets table if this change doesn't prove problematic --- OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs | 2 -- 1 file changed, 2 deletions(-) (limited to 'OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs') diff --git a/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs b/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs index 7adcb4a..ba23d82 100644 --- a/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs +++ b/OpenSim/Framework/AssetLoader/Filesystem/AssetLoaderFileSystem.cs @@ -137,13 +137,11 @@ namespace OpenSim.Framework.AssetLoader.Filesystem string assetIdStr = source.Configs[i].GetString("assetID", LLUUID.Random().ToString()); string name = source.Configs[i].GetString("name", String.Empty); sbyte type = (sbyte) source.Configs[i].GetInt("assetType", 0); - sbyte invType = (sbyte) source.Configs[i].GetInt("inventoryType", 0); string assetPath = Path.Combine(dir, source.Configs[i].GetString("fileName", String.Empty)); AssetBase newAsset = CreateAsset(assetIdStr, name, assetPath, false); newAsset.Type = type; - newAsset.InvType = invType; assets.Add(newAsset); } } -- cgit v1.1