aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-28 20:11:17 +0000
committerJustin Clarke Casey2008-11-28 20:11:17 +0000
commitdfbec673a4ca24ab683ea403361efa4372cc1e0d (patch)
tree4a561fa5ce77121f201008e6ea14ff5a0ba48fd4 /OpenSim/Region/Examples
parent* Committing a new test, that will fail until someone decides to fix Location... (diff)
downloadopensim-SC_OLD-dfbec673a4ca24ab683ea403361efa4372cc1e0d.zip
opensim-SC_OLD-dfbec673a4ca24ab683ea403361efa4372cc1e0d.tar.gz
opensim-SC_OLD-dfbec673a4ca24ab683ea403361efa4372cc1e0d.tar.bz2
opensim-SC_OLD-dfbec673a4ca24ab683ea403361efa4372cc1e0d.tar.xz
* simplify AddNewClient since making this root without using MakeRootAgent() no longer sets everything up properly
Diffstat (limited to 'OpenSim/Region/Examples')
-rw-r--r--OpenSim/Region/Examples/SimpleModule/RegionModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs
index 1bb6cae..0d7919d 100644
--- a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs
+++ b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs
@@ -85,7 +85,8 @@ namespace OpenSim.Region.Examples.SimpleModule
85 for (int i = 0; i < 1; i++) 85 for (int i = 0; i < 1; i++)
86 { 86 {
87 MyNpcCharacter m_character = new MyNpcCharacter(m_scene); 87 MyNpcCharacter m_character = new MyNpcCharacter(m_scene);
88 m_scene.AddNewClient(m_character, false); 88 m_scene.AddNewClient(m_character);
89 m_scene.AgentCrossing(m_character.AgentId, Vector3.Zero, false);
89 } 90 }
90 91
91 List<ScenePresence> avatars = m_scene.GetAvatars(); 92 List<ScenePresence> avatars = m_scene.GetAvatars();