From 7335e5710bd0c22c9e5bd9fa0b576d0985d2fba9 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 20 Sep 2007 13:04:51 +0000 Subject: Rev 1971 : The Lbsa71 vintage commit * Refactored to prepare for some serious restructuring --- OpenSim/Region/Examples/SimpleApp/Program.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Examples/SimpleApp') diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 9892866..7e6fd7a 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs @@ -97,11 +97,10 @@ namespace SimpleApp scene.AddNewClient(m_character, false); } - List avatars = scene.RequestAvatarList(); + List avatars = scene.GetAvatars(); foreach (ScenePresence avatar in avatars) { - avatar.AbsolutePosition = new LLVector3((float)OpenSim.Framework.Utilities.Util.RandomClass.Next(100,200), (float)OpenSim.Framework.Utilities.Util.RandomClass.Next(30, 200), 2); - + avatar.AbsolutePosition = new LLVector3((float)OpenSim.Framework.Utilities.Util.RandomClass.Next(100,200), (float)OpenSim.Framework.Utilities.Util.RandomClass.Next(30, 200), 2); } -- cgit v1.1