diff options
author | diva | 2009-05-18 23:15:50 +0000 |
---|---|---|
committer | diva | 2009-05-18 23:15:50 +0000 |
commit | df16532858bdaad841328a798d698d5c726eb472 (patch) | |
tree | d90ad9cf2040f556a3018f67425dcd76fb451b36 /OpenSim/Region/CoreModules/Asset | |
parent | Removing the last reference to CommsManager.AssetCache. (diff) | |
download | opensim-SC-df16532858bdaad841328a798d698d5c726eb472.zip opensim-SC-df16532858bdaad841328a798d698d5c726eb472.tar.gz opensim-SC-df16532858bdaad841328a798d698d5c726eb472.tar.bz2 opensim-SC-df16532858bdaad841328a798d698d5c726eb472.tar.xz |
Bug fix and config rename.
Diffstat (limited to 'OpenSim/Region/CoreModules/Asset')
-rw-r--r-- | OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs b/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs index cd475bd..75ae18c 100644 --- a/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs | |||
@@ -109,7 +109,8 @@ namespace OpenSim.Region.CoreModules.Asset | |||
109 | 109 | ||
110 | public void Cache(AssetBase asset) | 110 | public void Cache(AssetBase asset) |
111 | { | 111 | { |
112 | m_Cache.Store(asset.ID, asset); | 112 | if (asset != null) |
113 | m_Cache.Store(asset.ID, asset); | ||
113 | } | 114 | } |
114 | 115 | ||
115 | public AssetBase Get(string id) | 116 | public AssetBase Get(string id) |