diff options
author | diva | 2009-02-17 03:14:08 +0000 |
---|---|---|
committer | diva | 2009-02-17 03:14:08 +0000 |
commit | 2c272762f8928ecfce8ed173fec74a706cb0f46b (patch) | |
tree | 015046256af2dc5fedf4b0629bdf0d10ec32ea1c | |
parent | - remove the Metadata property from AssetBase and return all previous (diff) | |
download | opensim-SC-2c272762f8928ecfce8ed173fec74a706cb0f46b.zip opensim-SC-2c272762f8928ecfce8ed173fec74a706cb0f46b.tar.gz opensim-SC-2c272762f8928ecfce8ed173fec74a706cb0f46b.tar.bz2 opensim-SC-2c272762f8928ecfce8ed173fec74a706cb0f46b.tar.xz |
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.
-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); |