diff options
author | Melanie Thielker | 2009-05-10 12:27:05 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-10 12:27:05 +0000 |
commit | d8e1842d2507b2c18b21671ed01496b3a2c59e18 (patch) | |
tree | 2ae57cf45dd1b22fe48b72b85c952258d87f60b6 /OpenSim/Region/CoreModules/World/Land | |
parent | Fix the build break (diff) | |
download | opensim-SC_OLD-d8e1842d2507b2c18b21671ed01496b3a2c59e18.zip opensim-SC_OLD-d8e1842d2507b2c18b21671ed01496b3a2c59e18.tar.gz opensim-SC_OLD-d8e1842d2507b2c18b21671ed01496b3a2c59e18.tar.bz2 opensim-SC_OLD-d8e1842d2507b2c18b21671ed01496b3a2c59e18.tar.xz |
Add some asset cache plumbing. Change the generic cache from UUID to string
keys to allow caching the new crop of URI identified objects.
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index ce54261..1dc33e1 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -1302,7 +1302,9 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1302 | if (parcelID == UUID.Zero) | 1302 | if (parcelID == UUID.Zero) |
1303 | return; | 1303 | return; |
1304 | 1304 | ||
1305 | ExtendedLandData data = (ExtendedLandData)parcelInfoCache.Get(parcelID, delegate(UUID parcel) { | 1305 | ExtendedLandData data = (ExtendedLandData)parcelInfoCache.Get(parcelID.ToString(), delegate(string id) { |
1306 | UUID parcel = UUID.Zero; | ||
1307 | UUID.TryParse(id, out parcel); | ||
1306 | // assume we've got the parcelID we just computed in RemoteParcelRequest | 1308 | // assume we've got the parcelID we just computed in RemoteParcelRequest |
1307 | ExtendedLandData extLandData = new ExtendedLandData(); | 1309 | ExtendedLandData extLandData = new ExtendedLandData(); |
1308 | Util.ParseFakeParcelID(parcel, out extLandData.regionHandle, out extLandData.x, out extLandData.y); | 1310 | Util.ParseFakeParcelID(parcel, out extLandData.regionHandle, out extLandData.x, out extLandData.y); |