diff options
author | Justin Clarke Casey | 2008-11-28 20:11:17 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-28 20:11:17 +0000 |
commit | dfbec673a4ca24ab683ea403361efa4372cc1e0d (patch) | |
tree | 4a561fa5ce77121f201008e6ea14ff5a0ba48fd4 /OpenSim/Region/Examples/SimpleModule | |
parent | * Committing a new test, that will fail until someone decides to fix Location... (diff) | |
download | opensim-SC-dfbec673a4ca24ab683ea403361efa4372cc1e0d.zip opensim-SC-dfbec673a4ca24ab683ea403361efa4372cc1e0d.tar.gz opensim-SC-dfbec673a4ca24ab683ea403361efa4372cc1e0d.tar.bz2 opensim-SC-dfbec673a4ca24ab683ea403361efa4372cc1e0d.tar.xz |
* simplify AddNewClient since making this root without using MakeRootAgent() no longer sets everything up properly
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/RegionModule.cs | 3 |
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(); |