diff options
author | Homer Horwitz | 2008-12-31 19:35:33 +0000 |
---|---|---|
committer | Homer Horwitz | 2008-12-31 19:35:33 +0000 |
commit | 067a9f3d5f79a7b3b1e5939179e2d755f4236710 (patch) | |
tree | 3d39a7ce0102dcbf06f0905d180308843637b4c7 /OpenSim/Region | |
parent | Added http-method to the hashtable that gets passed to GenericHTTPMethods. (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 3 |
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 | { |