diff options
author | Justin Clarke Casey | 2009-02-16 19:15:16 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-16 19:15:16 +0000 |
commit | 93837807ffb24e5811368063b9231a9d8b018d9d (patch) | |
tree | 5da8dcbc3fd6e6e4c7003e486f0ad26bd7c43d87 /OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs | |
parent | * Iniital inventory archive test code. Doesn't actually do any testing yet (diff) | |
download | opensim-SC_OLD-93837807ffb24e5811368063b9231a9d8b018d9d.zip opensim-SC_OLD-93837807ffb24e5811368063b9231a9d8b018d9d.tar.gz opensim-SC_OLD-93837807ffb24e5811368063b9231a9d8b018d9d.tar.bz2 opensim-SC_OLD-93837807ffb24e5811368063b9231a9d8b018d9d.tar.xz |
* refactor: remove AssetCache field hanging off Scene
* This is always available at Scene.CommsManager.AssetCache
Diffstat (limited to 'OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs b/OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs index 2e018d3..69d3dac 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs | |||
@@ -159,7 +159,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
159 | // will wait anyway) | 159 | // will wait anyway) |
160 | private Bitmap fetchTexture(UUID id) | 160 | private Bitmap fetchTexture(UUID id) |
161 | { | 161 | { |
162 | AssetBase asset = m_scene.AssetCache.GetAsset(id, true); | 162 | AssetBase asset = m_scene.CommsManager.AssetCache.GetAsset(id, true); |
163 | m_log.DebugFormat("Fetched texture {0}, found: {1}", id, asset != null); | 163 | m_log.DebugFormat("Fetched texture {0}, found: {1}", id, asset != null); |
164 | if (asset == null) return null; | 164 | if (asset == null) return null; |
165 | 165 | ||