From 14d5a2e9b757c258c6ad15f0939973ef172d2d1f Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 20 Sep 2007 07:49:11 +0000 Subject: * moved SceneManager to RegionApplicationBase * Implemented SceneManager.StopScene() and Scene.Stop() * Some SimpleApping --- OpenSim/Region/Examples/SimpleApp/Program.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs') diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 52e279b..9892866 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs @@ -72,6 +72,8 @@ namespace SimpleApp scene.StartTimer(); + m_sceneManager.Add(scene); + m_moduleLoader.PostInitialise(); m_moduleLoader.ClearCache(); @@ -89,7 +91,7 @@ namespace SimpleApp scene.AddEntity(complexObject); } - /*for (int i = 0; i < 500; i++) + for (int i = 0; i < 2; i++) { MyNpcCharacter m_character = new MyNpcCharacter(scene.EventManager); scene.AddNewClient(m_character, false); @@ -100,7 +102,8 @@ namespace SimpleApp { avatar.AbsolutePosition = new LLVector3((float)OpenSim.Framework.Utilities.Util.RandomClass.Next(100,200), (float)OpenSim.Framework.Utilities.Util.RandomClass.Next(30, 200), 2); - }*/ + } + DirectoryInfo dirInfo = new DirectoryInfo( "." ); -- cgit v1.1