From b412db72be9c7a3833550119ba4d1c04b995d188 Mon Sep 17 00:00:00 2001
From: Kevin Cozens
Date: Mon, 21 Sep 2015 10:58:35 -0400
Subject: Fix a regression to GetSittingAvatars(). Return List<ScenePresence>
 once more.

---
 OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')

diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index f63fa71..974dd62 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2884,7 +2884,7 @@ namespace OpenSim.Region.Framework.Scenes
             {
 
                 m_requestedSitTargetID = 0;
-                part.RemoveSittingAvatar(UUID);
+                part.RemoveSittingAvatar(this);
                 part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK);
 
                 SendAvatarDataToAllAgents();
@@ -2984,7 +2984,7 @@ namespace OpenSim.Region.Framework.Scenes
 
                 Velocity = Vector3.Zero;
 
-                part.AddSittingAvatar(UUID);
+                part.AddSittingAvatar(this);
 
                 cameraAtOffset = part.GetCameraAtOffset();
                 cameraEyeOffset = part.GetCameraEyeOffset();
@@ -3132,7 +3132,7 @@ namespace OpenSim.Region.Framework.Scenes
             Velocity = Vector3.Zero;
             m_AngularVelocity = Vector3.Zero;
 
-            part.AddSittingAvatar(UUID);
+            part.AddSittingAvatar(this);
 
             Vector3 cameraAtOffset = part.GetCameraAtOffset();
             Vector3 cameraEyeOffset = part.GetCameraEyeOffset();
-- 
cgit v1.1