diff options
Diffstat (limited to 'OpenSim/Region/Environment/ParcelManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/ParcelManager.cs | 10 |
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) |