diff options
author | mingchen | 2007-06-04 14:09:19 +0000 |
---|---|---|
committer | mingchen | 2007-06-04 14:09:19 +0000 |
commit | 17421593528f4126256dea6d0c844da9c218fdb7 (patch) | |
tree | 69025fb439a08c24787a226b708f7b271610c548 /OpenSim/OpenSim.RegionServer/world/World.PacketHandlers.cs | |
parent | Small bugfix. (diff) | |
download | opensim-SC-17421593528f4126256dea6d0c844da9c218fdb7.zip opensim-SC-17421593528f4126256dea6d0c844da9c218fdb7.tar.gz opensim-SC-17421593528f4126256dea6d0c844da9c218fdb7.tar.bz2 opensim-SC-17421593528f4126256dea6d0c844da9c218fdb7.tar.xz |
Parcel Manager Changes:
*Added Parcel Backup Support for DB4. Other storages currently do not save
*Added parcelIDList in ParcelManager to speed up parcel fetching at position
*Added ParcelData.cs and ParcelData class for better storage support
*Documentation for parcel added
*2 Parcel Related bug fixes
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/world/World.PacketHandlers.cs')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/world/World.PacketHandlers.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/OpenSim.RegionServer/world/World.PacketHandlers.cs b/OpenSim/OpenSim.RegionServer/world/World.PacketHandlers.cs index 74b8e9d..8924773 100644 --- a/OpenSim/OpenSim.RegionServer/world/World.PacketHandlers.cs +++ b/OpenSim/OpenSim.RegionServer/world/World.PacketHandlers.cs | |||
@@ -10,6 +10,7 @@ using OpenSim.Framework.Terrain; | |||
10 | using OpenSim.Framework.Inventory; | 10 | using OpenSim.Framework.Inventory; |
11 | using OpenSim.Framework.Utilities; | 11 | using OpenSim.Framework.Utilities; |
12 | using OpenSim.Assets; | 12 | using OpenSim.Assets; |
13 | using OpenSim.RegionServer.world; | ||
13 | 14 | ||
14 | namespace OpenSim.world | 15 | namespace OpenSim.world |
15 | { | 16 | { |
@@ -296,7 +297,7 @@ namespace OpenSim.world | |||
296 | void ParcelPropertiesRequest(int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, ClientView remote_client) | 297 | void ParcelPropertiesRequest(int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, ClientView remote_client) |
297 | { | 298 | { |
298 | //Get the parcels within the bounds | 299 | //Get the parcels within the bounds |
299 | List<Parcel> temp = new List<Parcel>(); | 300 | List<OpenSim.RegionServer.world.Parcel> temp = new List<OpenSim.RegionServer.world.Parcel>(); |
300 | int x, y; | 301 | int x, y; |
301 | int inc_x = end_x - start_x; | 302 | int inc_x = end_x - start_x; |
302 | int inc_y = end_y - start_y; | 303 | int inc_y = end_y - start_y; |
@@ -304,7 +305,7 @@ namespace OpenSim.world | |||
304 | { | 305 | { |
305 | for(y = 0; y < inc_y; y++) | 306 | for(y = 0; y < inc_y; y++) |
306 | { | 307 | { |
307 | Parcel currentParcel = parcelManager.getParcel(start_x + x,start_y + y); | 308 | OpenSim.RegionServer.world.Parcel currentParcel = parcelManager.getParcel(start_x + x, start_y + y); |
308 | if(!temp.Contains(currentParcel)) | 309 | if(!temp.Contains(currentParcel)) |
309 | { | 310 | { |
310 | temp.Add(currentParcel); | 311 | temp.Add(currentParcel); |