diff options
author | mingchen | 2007-06-08 03:54:03 +0000 |
---|---|---|
committer | mingchen | 2007-06-08 03:54:03 +0000 |
commit | 269ff893df525ad5ea8ad8fbe2528f7045dec8d9 (patch) | |
tree | 6b3957c356c76a59b360bf938ddea9c64932a26e /OpenSim/OpenSim.RegionServer/Simulator/ParcelManager.cs | |
parent | *Added basic support for EstateOwnerMessage (diff) | |
download | opensim-SC_OLD-269ff893df525ad5ea8ad8fbe2528f7045dec8d9.zip opensim-SC_OLD-269ff893df525ad5ea8ad8fbe2528f7045dec8d9.tar.gz opensim-SC_OLD-269ff893df525ad5ea8ad8fbe2528f7045dec8d9.tar.bz2 opensim-SC_OLD-269ff893df525ad5ea8ad8fbe2528f7045dec8d9.tar.xz |
*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
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/Simulator/ParcelManager.cs')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/Simulator/ParcelManager.cs | 10 |
1 files changed, 9 insertions, 1 deletions
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 | |||
562 | updatePacket.ParcelData.TotalPrims = 0; //unemplemented | 562 | updatePacket.ParcelData.TotalPrims = 0; //unemplemented |
563 | updatePacket.ParcelData.UserLocation = parcelData.userLocation; | 563 | updatePacket.ParcelData.UserLocation = parcelData.userLocation; |
564 | updatePacket.ParcelData.UserLookAt = parcelData.userLookAt; | 564 | updatePacket.ParcelData.UserLookAt = parcelData.userLookAt; |
565 | |||
566 | remote_client.OutPacket((Packet)updatePacket); | 565 | remote_client.OutPacket((Packet)updatePacket); |
567 | } | 566 | } |
568 | 567 | ||
@@ -588,6 +587,15 @@ namespace OpenSim.RegionServer.Simulator | |||
588 | parcelData.snapshotID = packet.ParcelData.SnapshotID; | 587 | parcelData.snapshotID = packet.ParcelData.SnapshotID; |
589 | parcelData.userLocation = packet.ParcelData.UserLocation; | 588 | parcelData.userLocation = packet.ParcelData.UserLocation; |
590 | parcelData.userLookAt = packet.ParcelData.UserLookAt; | 589 | parcelData.userLookAt = packet.ParcelData.UserLookAt; |
590 | |||
591 | foreach (Avatar av in m_world.Avatars.Values) | ||
592 | { | ||
593 | Parcel over = m_world.parcelManager.getParcel((int)Math.Round(av.Pos.X), (int)Math.Round(av.Pos.Y)); | ||
594 | if (over == this) | ||
595 | { | ||
596 | sendParcelProperties(0, false, 0, av.ControllingClient); | ||
597 | } | ||
598 | } | ||
591 | } | 599 | } |
592 | } | 600 | } |
593 | #endregion | 601 | #endregion |