aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/ParcelManager.cs
diff options
context:
space:
mode:
authormingchen2007-07-12 16:19:32 +0000
committermingchen2007-07-12 16:19:32 +0000
commitb27924d0a53e7cf316e3d753d0631b3c221ed887 (patch)
treee75858c45d3f3bfa3185b8812545d83052a4a12c /OpenSim/Region/Environment/ParcelManager.cs
parentNext time maybe I should check it still compiles before committing. (diff)
downloadopensim-SC_OLD-b27924d0a53e7cf316e3d753d0631b3c221ed887.zip
opensim-SC_OLD-b27924d0a53e7cf316e3d753d0631b3c221ed887.tar.gz
opensim-SC_OLD-b27924d0a53e7cf316e3d753d0631b3c221ed887.tar.bz2
opensim-SC_OLD-b27924d0a53e7cf316e3d753d0631b3c221ed887.tar.xz
*Found and fixed bug that crashed viewer when logging in or viewing land owners
*Reenabled estate manager; remember, the master avatar is the only one that can use this (by default: Test User with password 'test') *Still working on readding support for updating parcel information when logging in or moving into a new parcel
Diffstat (limited to 'OpenSim/Region/Environment/ParcelManager.cs')
-rw-r--r--OpenSim/Region/Environment/ParcelManager.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/ParcelManager.cs b/OpenSim/Region/Environment/ParcelManager.cs
index 2059b3f..a1ed930 100644
--- a/OpenSim/Region/Environment/ParcelManager.cs
+++ b/OpenSim/Region/Environment/ParcelManager.cs
@@ -356,11 +356,11 @@ namespace OpenSim.Region.Environment
356 //Sale Flag 356 //Sale Flag
357 tempByte = Convert.ToByte(tempByte | PARCEL_TYPE_IS_FOR_SALE); 357 tempByte = Convert.ToByte(tempByte | PARCEL_TYPE_IS_FOR_SALE);
358 } 358 }
359 else if (currentParcelBlock.parcelData.ownerID == LLUUID.Zero) 359 /*else if (currentParcelBlock.parcelData.ownerID == LLUUID.Zero)
360 { 360 {
361 //Public Flag 361 //Public Flag
362 tempByte = Convert.ToByte(tempByte | PARCEL_TYPE_PUBLIC); 362 tempByte = Convert.ToByte(tempByte | PARCEL_TYPE_PUBLIC);
363 } 363 }*/
364 else 364 else
365 { 365 {
366 //Other Flag 366 //Other Flag
@@ -395,6 +395,7 @@ namespace OpenSim.Region.Environment
395 packet = new ParcelOverlayPacket(); 395 packet = new ParcelOverlayPacket();
396 packet.ParcelData.Data = byteArray; 396 packet.ParcelData.Data = byteArray;
397 packet.ParcelData.SequenceID = sequenceID; 397 packet.ParcelData.SequenceID = sequenceID;
398 Console.WriteLine("SENT #" + sequenceID);
398 remote_client.OutPacket((Packet)packet); 399 remote_client.OutPacket((Packet)packet);
399 sequenceID++; 400 sequenceID++;
400 byteArray = new byte[PARCEL_BLOCKS_PER_PACKET]; 401 byteArray = new byte[PARCEL_BLOCKS_PER_PACKET];
@@ -402,10 +403,7 @@ namespace OpenSim.Region.Environment
402 } 403 }
403 } 404 }
404 405
405 packet = new ParcelOverlayPacket(); 406
406 packet.ParcelData.Data = byteArray;
407 packet.ParcelData.SequenceID = sequenceID; //Eh?
408 remote_client.OutPacket((Packet)packet);
409 } 407 }
410 408
411 public void handleParcelPropertiesRequest(int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client) 409 public void handleParcelPropertiesRequest(int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client)