mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
*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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user