From b27924d0a53e7cf316e3d753d0631b3c221ed887 Mon Sep 17 00:00:00 2001 From: mingchen Date: Thu, 12 Jul 2007 16:19:32 +0000 Subject: *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 --- OpenSim/Region/Environment/ParcelManager.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/Environment/ParcelManager.cs') 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 //Sale Flag tempByte = Convert.ToByte(tempByte | PARCEL_TYPE_IS_FOR_SALE); } - else if (currentParcelBlock.parcelData.ownerID == LLUUID.Zero) + /*else if (currentParcelBlock.parcelData.ownerID == LLUUID.Zero) { //Public Flag tempByte = Convert.ToByte(tempByte | PARCEL_TYPE_PUBLIC); - } + }*/ else { //Other Flag @@ -395,6 +395,7 @@ namespace OpenSim.Region.Environment packet = new ParcelOverlayPacket(); packet.ParcelData.Data = byteArray; packet.ParcelData.SequenceID = sequenceID; + Console.WriteLine("SENT #" + sequenceID); remote_client.OutPacket((Packet)packet); sequenceID++; byteArray = new byte[PARCEL_BLOCKS_PER_PACKET]; @@ -402,10 +403,7 @@ namespace OpenSim.Region.Environment } } - packet = new ParcelOverlayPacket(); - packet.ParcelData.Data = byteArray; - packet.ParcelData.SequenceID = sequenceID; //Eh? - remote_client.OutPacket((Packet)packet); + } public void handleParcelPropertiesRequest(int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client) -- cgit v1.1