diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 2d01282..9b80444 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -116,6 +116,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
116 | private readonly List<ulong> m_knownChildRegions = new List<ulong>(); | 116 | private readonly List<ulong> m_knownChildRegions = new List<ulong>(); |
117 | //neighbouring regions we have enabled a child agent in | 117 | //neighbouring regions we have enabled a child agent in |
118 | 118 | ||
119 | private SignificantClientMovement handler001 = null; //OnSignificantClientMovement; | ||
120 | |||
119 | 121 | ||
120 | /// <summary> | 122 | /// <summary> |
121 | /// Implemented Control Flags | 123 | /// Implemented Control Flags |
@@ -1482,9 +1484,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
1482 | if (Util.GetDistanceTo(AbsolutePosition, posLastSignificantMove) > 0.5) | 1484 | if (Util.GetDistanceTo(AbsolutePosition, posLastSignificantMove) > 0.5) |
1483 | { | 1485 | { |
1484 | posLastSignificantMove = AbsolutePosition; | 1486 | posLastSignificantMove = AbsolutePosition; |
1485 | if (OnSignificantClientMovement != null) | 1487 | |
1488 | if (handler001 != null) | ||
1486 | { | 1489 | { |
1487 | OnSignificantClientMovement(m_controllingClient); | 1490 | handler001(m_controllingClient); |
1488 | m_scene.NotifyMyCoarseLocationChange(); | 1491 | m_scene.NotifyMyCoarseLocationChange(); |
1489 | } | 1492 | } |
1490 | } | 1493 | } |