diff options
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); |