aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorHomer Horwitz2008-12-31 19:35:33 +0000
committerHomer Horwitz2008-12-31 19:35:33 +0000
commit067a9f3d5f79a7b3b1e5939179e2d755f4236710 (patch)
tree3d39a7ce0102dcbf06f0905d180308843637b4c7 /OpenSim/Region/Physics
parentAdded http-method to the hashtable that gets passed to GenericHTTPMethods. (diff)
downloadopensim-SC_OLD-067a9f3d5f79a7b3b1e5939179e2d755f4236710.zip
opensim-SC_OLD-067a9f3d5f79a7b3b1e5939179e2d755f4236710.tar.gz
opensim-SC_OLD-067a9f3d5f79a7b3b1e5939179e2d755f4236710.tar.bz2
opensim-SC_OLD-067a9f3d5f79a7b3b1e5939179e2d755f4236710.tar.xz
Added a missing setMass for initializing the mass of prims
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index 8dc8f78..f012a2f 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -45,7 +45,7 @@ namespace OpenSim.Region.Physics.OdePlugin
45 { 45 {
46 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 46 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
47 47
48 public PhysicsVector _position; 48 private PhysicsVector _position;
49 private PhysicsVector _velocity; 49 private PhysicsVector _velocity;
50 private PhysicsVector _torque = new PhysicsVector(0,0,0); 50 private PhysicsVector _torque = new PhysicsVector(0,0,0);
51 private PhysicsVector m_lastVelocity = new PhysicsVector(0.0f, 0.0f, 0.0f); 51 private PhysicsVector m_lastVelocity = new PhysicsVector(0.0f, 0.0f, 0.0f);
@@ -962,6 +962,7 @@ namespace OpenSim.Region.Physics.OdePlugin
962 if (Body == IntPtr.Zero) 962 if (Body == IntPtr.Zero)
963 { 963 {
964 Body = d.BodyCreate(_parent_scene.world); 964 Body = d.BodyCreate(_parent_scene.world);
965 setMass();
965 } 966 }
966 if (Body != IntPtr.Zero) 967 if (Body != IntPtr.Zero)
967 { 968 {