aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-07-07 01:49:34 +0100
committerUbitUmarov2017-07-07 01:49:34 +0100
commitdfef16297b51fb81550745aeea05bd10cb1fc766 (patch)
tree7bf32f09bb1b1a2dda3660a27c6a0c2016c39840 /OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs
parentubOde: but only do that if sphere is physical.. (diff)
downloadopensim-SC-dfef16297b51fb81550745aeea05bd10cb1fc766.zip
opensim-SC-dfef16297b51fb81550745aeea05bd10cb1fc766.tar.gz
opensim-SC-dfef16297b51fb81550745aeea05bd10cb1fc766.tar.bz2
opensim-SC-dfef16297b51fb81550745aeea05bd10cb1fc766.tar.xz
ubOde don't use old ode body sleep option, a few changes on sleep control, update ode.dll (windows, others needed) (keep older versions.. bc.. well bugs happen)
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs')
-rw-r--r--OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs
index 2e6a7db..ce10065 100644
--- a/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs
+++ b/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs
@@ -345,6 +345,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
345 if (rootPrim.Body != IntPtr.Zero && !d.BodyIsEnabled(rootPrim.Body) 345 if (rootPrim.Body != IntPtr.Zero && !d.BodyIsEnabled(rootPrim.Body)
346 && !rootPrim.m_isSelected && !rootPrim.m_disabled) 346 && !rootPrim.m_isSelected && !rootPrim.m_disabled)
347 d.BodyEnable(rootPrim.Body); 347 d.BodyEnable(rootPrim.Body);
348
348 break; 349 break;
349 case Vehicle.LINEAR_FRICTION_TIMESCALE: 350 case Vehicle.LINEAR_FRICTION_TIMESCALE:
350 if (pValue < m_timestep) pValue = m_timestep; 351 if (pValue < m_timestep) pValue = m_timestep;