From 269ff893df525ad5ea8ad8fbe2528f7045dec8d9 Mon Sep 17 00:00:00 2001 From: mingchen Date: Fri, 8 Jun 2007 03:54:03 +0000 Subject: *Added Estate Tools for terrain texturing, terrain texturing heights per corner, water height, region flags, etc basic settings *Parcel now sends ParcelProperties when the owner changes information as soon as the information is changed --- OpenSim/OpenSim.RegionServer/Simulator/ParcelManager.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'OpenSim/OpenSim.RegionServer/Simulator/ParcelManager.cs') diff --git a/OpenSim/OpenSim.RegionServer/Simulator/ParcelManager.cs b/OpenSim/OpenSim.RegionServer/Simulator/ParcelManager.cs index 6d432f1..8620e8c 100644 --- a/OpenSim/OpenSim.RegionServer/Simulator/ParcelManager.cs +++ b/OpenSim/OpenSim.RegionServer/Simulator/ParcelManager.cs @@ -562,7 +562,6 @@ namespace OpenSim.RegionServer.Simulator updatePacket.ParcelData.TotalPrims = 0; //unemplemented updatePacket.ParcelData.UserLocation = parcelData.userLocation; updatePacket.ParcelData.UserLookAt = parcelData.userLookAt; - remote_client.OutPacket((Packet)updatePacket); } @@ -588,6 +587,15 @@ namespace OpenSim.RegionServer.Simulator parcelData.snapshotID = packet.ParcelData.SnapshotID; parcelData.userLocation = packet.ParcelData.UserLocation; parcelData.userLookAt = packet.ParcelData.UserLookAt; + + foreach (Avatar av in m_world.Avatars.Values) + { + Parcel over = m_world.parcelManager.getParcel((int)Math.Round(av.Pos.X), (int)Math.Round(av.Pos.Y)); + if (over == this) + { + sendParcelProperties(0, false, 0, av.ControllingClient); + } + } } } #endregion -- cgit v1.1