diff options
author | mingchen | 2007-07-13 21:13:38 +0000 |
---|---|---|
committer | mingchen | 2007-07-13 21:13:38 +0000 |
commit | 862dc9fe975bdaa71116c8449ac27289f860441e (patch) | |
tree | fd90837f60f7bebcca522b4770601795a3c065dc /OpenSim/Region/Environment/Scenes | |
parent | Chat/Shout/etc should be working again (diff) | |
download | opensim-SC-862dc9fe975bdaa71116c8449ac27289f860441e.zip opensim-SC-862dc9fe975bdaa71116c8449ac27289f860441e.tar.gz opensim-SC-862dc9fe975bdaa71116c8449ac27289f860441e.tar.bz2 opensim-SC-862dc9fe975bdaa71116c8449ac27289f860441e.tar.xz |
*Reworked parcel joining to work the same way as LL's method.
**Parcels within selection now join and not the two parcels selected at each corner
*Created OnSignificantClientMovement event that is triggered when an avatar moves more than 2 meters.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index a1b060f..7098c38 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -484,6 +484,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
484 | client.OnParcelJoinRequest += new ParcelJoinRequest(parcelManager.handleParcelJoinRequest); | 484 | client.OnParcelJoinRequest += new ParcelJoinRequest(parcelManager.handleParcelJoinRequest); |
485 | client.OnParcelPropertiesUpdateRequest += new ParcelPropertiesUpdateRequest(parcelManager.handleParcelPropertiesUpdateRequest); | 485 | client.OnParcelPropertiesUpdateRequest += new ParcelPropertiesUpdateRequest(parcelManager.handleParcelPropertiesUpdateRequest); |
486 | client.OnEstateOwnerMessage += new EstateOwnerMessageRequest(estateManager.handleEstateOwnerMessage); | 486 | client.OnEstateOwnerMessage += new EstateOwnerMessageRequest(estateManager.handleEstateOwnerMessage); |
487 | |||
488 | client.OnSignificantClientMovement += new SignificantClientMovement(parcelManager.handleSignificantClientMovement); | ||
487 | } | 489 | } |
488 | 490 | ||
489 | protected void CreateAndAddScenePresence(IClientAPI client) | 491 | protected void CreateAndAddScenePresence(IClientAPI client) |
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index a813aed..613ad52 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -479,8 +479,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
479 | if (libsecondlife.Helpers.VecDist(this.Pos, this.posLastSignificantMove) > 2.0) | 479 | if (libsecondlife.Helpers.VecDist(this.Pos, this.posLastSignificantMove) > 2.0) |
480 | { | 480 | { |
481 | this.posLastSignificantMove = this.Pos; | 481 | this.posLastSignificantMove = this.Pos; |
482 | this.m_world.parcelManager.handleSignificantClientMovement(this.ControllingClient); | 482 | this.ControllingClient.TriggerSignificantClientMovement(this.ControllingClient); |
483 | |||
484 | } | 483 | } |
485 | } | 484 | } |
486 | #endregion | 485 | #endregion |