diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index adb3d38..5be826d 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -69,7 +69,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
69 | public ScriptControlled eventControls; | 69 | public ScriptControlled eventControls; |
70 | } | 70 | } |
71 | 71 | ||
72 | public delegate void SendCourseLocationsMethod(UUID scene, ScenePresence presence, List<Vector3> coarseLocations, List<UUID> avatarUUIDs); | 72 | public delegate void SendCoarseLocationsMethod(UUID scene, ScenePresence presence, List<Vector3> coarseLocations, List<UUID> avatarUUIDs); |
73 | 73 | ||
74 | public class ScenePresence : EntityBase, IScenePresence | 74 | public class ScenePresence : EntityBase, IScenePresence |
75 | { | 75 | { |
@@ -188,7 +188,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
188 | /// </summary> | 188 | /// </summary> |
189 | public bool SitGround { get; private set; } | 189 | public bool SitGround { get; private set; } |
190 | 190 | ||
191 | private SendCourseLocationsMethod m_sendCourseLocationsMethod; | 191 | private SendCoarseLocationsMethod m_sendCoarseLocationsMethod; |
192 | 192 | ||
193 | //private Vector3 m_requestedSitOffset = new Vector3(); | 193 | //private Vector3 m_requestedSitOffset = new Vector3(); |
194 | 194 | ||
@@ -711,7 +711,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
711 | AttachmentsSyncLock = new Object(); | 711 | AttachmentsSyncLock = new Object(); |
712 | AllowMovement = true; | 712 | AllowMovement = true; |
713 | IsChildAgent = true; | 713 | IsChildAgent = true; |
714 | m_sendCourseLocationsMethod = SendCoarseLocationsDefault; | 714 | m_sendCoarseLocationsMethod = SendCoarseLocationsDefault; |
715 | Animator = new ScenePresenceAnimator(this); | 715 | Animator = new ScenePresenceAnimator(this); |
716 | PresenceType = type; | 716 | PresenceType = type; |
717 | DrawDistance = world.DefaultDrawDistance; | 717 | DrawDistance = world.DefaultDrawDistance; |
@@ -2629,17 +2629,17 @@ namespace OpenSim.Region.Framework.Scenes | |||
2629 | 2629 | ||
2630 | public void SendCoarseLocations(List<Vector3> coarseLocations, List<UUID> avatarUUIDs) | 2630 | public void SendCoarseLocations(List<Vector3> coarseLocations, List<UUID> avatarUUIDs) |
2631 | { | 2631 | { |
2632 | SendCourseLocationsMethod d = m_sendCourseLocationsMethod; | 2632 | SendCoarseLocationsMethod d = m_sendCoarseLocationsMethod; |
2633 | if (d != null) | 2633 | if (d != null) |
2634 | { | 2634 | { |
2635 | d.Invoke(m_scene.RegionInfo.originRegionID, this, coarseLocations, avatarUUIDs); | 2635 | d.Invoke(m_scene.RegionInfo.originRegionID, this, coarseLocations, avatarUUIDs); |
2636 | } | 2636 | } |
2637 | } | 2637 | } |
2638 | 2638 | ||
2639 | public void SetSendCourseLocationMethod(SendCourseLocationsMethod d) | 2639 | public void SetSendCoarseLocationMethod(SendCoarseLocationsMethod d) |
2640 | { | 2640 | { |
2641 | if (d != null) | 2641 | if (d != null) |
2642 | m_sendCourseLocationsMethod = d; | 2642 | m_sendCoarseLocationsMethod = d; |
2643 | } | 2643 | } |
2644 | 2644 | ||
2645 | public void SendCoarseLocationsDefault(UUID sceneId, ScenePresence p, List<Vector3> coarseLocations, List<UUID> avatarUUIDs) | 2645 | public void SendCoarseLocationsDefault(UUID sceneId, ScenePresence p, List<Vector3> coarseLocations, List<UUID> avatarUUIDs) |
@@ -2843,7 +2843,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2843 | #region Significant Movement Method | 2843 | #region Significant Movement Method |
2844 | 2844 | ||
2845 | /// <summary> | 2845 | /// <summary> |
2846 | /// This checks for a significant movement and sends a courselocationchange update | 2846 | /// This checks for a significant movement and sends a coarselocationchange update |
2847 | /// </summary> | 2847 | /// </summary> |
2848 | protected void CheckForSignificantMovement() | 2848 | protected void CheckForSignificantMovement() |
2849 | { | 2849 | { |