diff options
author | Jeff Ames | 2007-10-31 09:50:36 +0000 |
---|---|---|
committer | Jeff Ames | 2007-10-31 09:50:36 +0000 |
commit | dbcab80520119230c0f988eac3cd75742a74dc26 (patch) | |
tree | 4d6979d552b74d3e42ba0996071778edfbe8329c /OpenSim/Region/Environment/LandManagement/Land.cs | |
parent | forgotten file (diff) | |
download | opensim-SC_OLD-dbcab80520119230c0f988eac3cd75742a74dc26.zip opensim-SC_OLD-dbcab80520119230c0f988eac3cd75742a74dc26.tar.gz opensim-SC_OLD-dbcab80520119230c0f988eac3cd75742a74dc26.tar.bz2 opensim-SC_OLD-dbcab80520119230c0f988eac3cd75742a74dc26.tar.xz |
fixed bug with user not getting land properties on login
Diffstat (limited to 'OpenSim/Region/Environment/LandManagement/Land.cs')
-rw-r--r-- | OpenSim/Region/Environment/LandManagement/Land.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/Land.cs b/OpenSim/Region/Environment/LandManagement/Land.cs index e9837c0..bf35b57 100644 --- a/OpenSim/Region/Environment/LandManagement/Land.cs +++ b/OpenSim/Region/Environment/LandManagement/Land.cs | |||
@@ -220,6 +220,11 @@ namespace OpenSim.Region.Environment.LandManagement | |||
220 | } | 220 | } |
221 | } | 221 | } |
222 | 222 | ||
223 | public void sendLandUpdateToClient(IClientAPI remote_client) | ||
224 | { | ||
225 | sendLandProperties(0, false, 0, remote_client); | ||
226 | } | ||
227 | |||
223 | public void sendLandUpdateToAvatarsOverMe() | 228 | public void sendLandUpdateToAvatarsOverMe() |
224 | { | 229 | { |
225 | List<ScenePresence> avatars = m_scene.GetAvatars(); | 230 | List<ScenePresence> avatars = m_scene.GetAvatars(); |
@@ -230,7 +235,7 @@ namespace OpenSim.Region.Environment.LandManagement | |||
230 | (int) Math.Round(avatars[i].AbsolutePosition.Y)); | 235 | (int) Math.Round(avatars[i].AbsolutePosition.Y)); |
231 | if (over.landData.localID == landData.localID) | 236 | if (over.landData.localID == landData.localID) |
232 | { | 237 | { |
233 | sendLandProperties(0, false, 0, avatars[i].ControllingClient); | 238 | sendLandUpdateToClient(avatars[i].ControllingClient); |
234 | } | 239 | } |
235 | } | 240 | } |
236 | } | 241 | } |