diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules/Ode/ODECharacter.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/Ode/ODECharacter.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/PhysicsModules/Ode/ODECharacter.cs b/OpenSim/Region/PhysicsModules/Ode/ODECharacter.cs index c1afe13..4c9df9c 100644 --- a/OpenSim/Region/PhysicsModules/Ode/ODECharacter.cs +++ b/OpenSim/Region/PhysicsModules/Ode/ODECharacter.cs | |||
@@ -29,7 +29,6 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Reflection; | 30 | using System.Reflection; |
31 | using OpenMetaverse; | 31 | using OpenMetaverse; |
32 | using Ode.NET; | ||
33 | using OpenSim.Framework; | 32 | using OpenSim.Framework; |
34 | using OpenSim.Region.PhysicsModules.SharedBase; | 33 | using OpenSim.Region.PhysicsModules.SharedBase; |
35 | using log4net; | 34 | using log4net; |
@@ -1105,8 +1104,8 @@ namespace OpenSim.Region.PhysicsModule.ODE | |||
1105 | // lock (OdeScene.UniversalColliderSyncObject) | 1104 | // lock (OdeScene.UniversalColliderSyncObject) |
1106 | Shell = d.CreateCapsule(_parent_scene.space, CAPSULE_RADIUS, CAPSULE_LENGTH); | 1105 | Shell = d.CreateCapsule(_parent_scene.space, CAPSULE_RADIUS, CAPSULE_LENGTH); |
1107 | 1106 | ||
1108 | d.GeomSetCategoryBits(Shell, (int)m_collisionCategories); | 1107 | d.GeomSetCategoryBits(Shell, (uint)m_collisionCategories); |
1109 | d.GeomSetCollideBits(Shell, (int)m_collisionFlags); | 1108 | d.GeomSetCollideBits(Shell, (uint)m_collisionFlags); |
1110 | 1109 | ||
1111 | d.MassSetCapsuleTotal(out ShellMass, m_mass, 2, CAPSULE_RADIUS, CAPSULE_LENGTH); | 1110 | d.MassSetCapsuleTotal(out ShellMass, m_mass, 2, CAPSULE_RADIUS, CAPSULE_LENGTH); |
1112 | Body = d.BodyCreate(_parent_scene.world); | 1111 | Body = d.BodyCreate(_parent_scene.world); |