diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/PhysicsModules/Ode/ODEPrim.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/PhysicsModules/Ode/ODEPrim.cs b/OpenSim/Region/PhysicsModules/Ode/ODEPrim.cs index 7c4dc46..36546aa 100644 --- a/OpenSim/Region/PhysicsModules/Ode/ODEPrim.cs +++ b/OpenSim/Region/PhysicsModules/Ode/ODEPrim.cs | |||
@@ -2664,6 +2664,9 @@ Console.WriteLine(" JointCreateFixed"); | |||
2664 | m_log.Warn("[PHYSICS]: Too many crossing failures for: " + Name); | 2664 | m_log.Warn("[PHYSICS]: Too many crossing failures for: " + Name); |
2665 | } | 2665 | } |
2666 | */ | 2666 | */ |
2667 | |||
2668 | d.AllocateODEDataForThread(0U); | ||
2669 | |||
2667 | _position.X = Util.Clip(_position.X, 0.5f, _parent_scene.WorldExtents.X - 0.5f); | 2670 | _position.X = Util.Clip(_position.X, 0.5f, _parent_scene.WorldExtents.X - 0.5f); |
2668 | _position.Y = Util.Clip(_position.Y, 0.5f, _parent_scene.WorldExtents.Y - 0.5f); | 2671 | _position.Y = Util.Clip(_position.Y, 0.5f, _parent_scene.WorldExtents.Y - 0.5f); |
2669 | _position.Z = Util.Clip(_position.Z + 0.2f, -100f, 50000f); | 2672 | _position.Z = Util.Clip(_position.Z + 0.2f, -100f, 50000f); |