diff options
author | Justin Clarke Casey | 2008-11-20 16:58:40 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-20 16:58:40 +0000 |
commit | 81dcf223bf2c564423d2c5c101ea95b6d79c6eab (patch) | |
tree | d631c67957b5ab2d3112ec22c1f14636b0b5d96f /OpenSim/Region/Environment/Scenes/ScenePresence.cs | |
parent | From: Christopher Yeoh <cyeoh@au1.ibm.com> (diff) | |
download | opensim-SC_OLD-81dcf223bf2c564423d2c5c101ea95b6d79c6eab.zip opensim-SC_OLD-81dcf223bf2c564423d2c5c101ea95b6d79c6eab.tar.gz opensim-SC_OLD-81dcf223bf2c564423d2c5c101ea95b6d79c6eab.tar.bz2 opensim-SC_OLD-81dcf223bf2c564423d2c5c101ea95b6d79c6eab.tar.xz |
* Add enough infrastructure code to run an extremely basic and flaky add root agent scene test
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 19f0f9c..61fa83d 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -2424,6 +2424,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2424 | PhysicsVector pVec = | 2424 | PhysicsVector pVec = |
2425 | new PhysicsVector(AbsolutePosition.X, AbsolutePosition.Y, | 2425 | new PhysicsVector(AbsolutePosition.X, AbsolutePosition.Y, |
2426 | AbsolutePosition.Z); | 2426 | AbsolutePosition.Z); |
2427 | |||
2427 | if (m_avHeight == 127.0f) | 2428 | if (m_avHeight == 127.0f) |
2428 | { | 2429 | { |
2429 | m_physicsActor = scene.AddAvatar(Firstname + "." + Lastname, pVec, new PhysicsVector(0, 0, 1.56f)); | 2430 | m_physicsActor = scene.AddAvatar(Firstname + "." + Lastname, pVec, new PhysicsVector(0, 0, 1.56f)); |
@@ -2432,6 +2433,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2432 | { | 2433 | { |
2433 | m_physicsActor = scene.AddAvatar(Firstname + "." + Lastname, pVec, new PhysicsVector(0, 0, m_avHeight)); | 2434 | m_physicsActor = scene.AddAvatar(Firstname + "." + Lastname, pVec, new PhysicsVector(0, 0, m_avHeight)); |
2434 | } | 2435 | } |
2436 | |||
2435 | //m_physicsActor.OnRequestTerseUpdate += SendTerseUpdateToAllClients; | 2437 | //m_physicsActor.OnRequestTerseUpdate += SendTerseUpdateToAllClients; |
2436 | m_physicsActor.OnCollisionUpdate += PhysicsCollisionUpdate; | 2438 | m_physicsActor.OnCollisionUpdate += PhysicsCollisionUpdate; |
2437 | m_physicsActor.SubscribeEvents(1000); | 2439 | m_physicsActor.SubscribeEvents(1000); |