diff options
Small change on dealing with ODE physics, so that this warning doesn't happen: "[PHYSICS]: trying to change capsule size, but the following ODE data is missing - Shell Body Amotor". That warning occurred in MakeRoot, because of the call to SetSize, immediately after making the avie physical.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index f06afc0..fc3166a 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2831,7 +2831,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2831 | { | 2831 | { |
2832 | m_physicsActor = scene.AddAvatar(Firstname + "." + Lastname, pVec, new PhysicsVector(0, 0, m_avHeight), isFlying); | 2832 | m_physicsActor = scene.AddAvatar(Firstname + "." + Lastname, pVec, new PhysicsVector(0, 0, m_avHeight), isFlying); |
2833 | } | 2833 | } |
2834 | 2834 | scene.AddPhysicsActorTaint(m_physicsActor); | |
2835 | //m_physicsActor.OnRequestTerseUpdate += SendTerseUpdateToAllClients; | 2835 | //m_physicsActor.OnRequestTerseUpdate += SendTerseUpdateToAllClients; |
2836 | m_physicsActor.OnCollisionUpdate += PhysicsCollisionUpdate; | 2836 | m_physicsActor.OnCollisionUpdate += PhysicsCollisionUpdate; |
2837 | m_physicsActor.SubscribeEvents(1000); | 2837 | m_physicsActor.SubscribeEvents(1000); |