aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authordiva2009-02-17 03:14:08 +0000
committerdiva2009-02-17 03:14:08 +0000
commit2c272762f8928ecfce8ed173fec74a706cb0f46b (patch)
tree015046256af2dc5fedf4b0629bdf0d10ec32ea1c /OpenSim/Region/Framework
parent- remove the Metadata property from AssetBase and return all previous (diff)
downloadopensim-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.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
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);