aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-07-13 20:21:18 +0100
committerUbitUmarov2017-07-13 20:21:18 +0100
commit8b16131206818329e973faec3a9861fca37f0073 (patch)
treed2fa5fde6441f83e2396bd5893f9c6fd368f5cdd /OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
parentupdate libomv fixing EnUsCulture (diff)
downloadopensim-SC_OLD-8b16131206818329e973faec3a9861fca37f0073.zip
opensim-SC_OLD-8b16131206818329e973faec3a9861fca37f0073.tar.gz
opensim-SC_OLD-8b16131206818329e973faec3a9861fca37f0073.tar.bz2
opensim-SC_OLD-8b16131206818329e973faec3a9861fca37f0073.tar.xz
add Util.GetTimeStamp() that returns the stamp in seconds; use it on ubOde; separed land collsions dispatch from the others...
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs')
-rw-r--r--OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
index 005caee..44e722c 100644
--- a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
+++ b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
@@ -1240,7 +1240,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
1240 SentEmptyCollisionsEvent = true; 1240 SentEmptyCollisionsEvent = true;
1241// _parent_scene.RemoveCollisionEventReporting(this); 1241// _parent_scene.RemoveCollisionEventReporting(this);
1242 } 1242 }
1243 else if(Body == IntPtr.Zero || d.BodyIsEnabled(Body)) 1243 else if(Body == IntPtr.Zero || (d.BodyIsEnabled(Body) && m_bodydisablecontrol >= 0 ))
1244 { 1244 {
1245 SentEmptyCollisionsEvent = false; 1245 SentEmptyCollisionsEvent = false;
1246 CollisionEventsThisFrame.Clear(); 1246 CollisionEventsThisFrame.Clear();
@@ -3595,7 +3595,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
3595 _zeroFlag = true; 3595 _zeroFlag = true;
3596 d.BodySetAutoDisableSteps(Body, 1); 3596 d.BodySetAutoDisableSteps(Body, 1);
3597 d.BodyEnable(Body); 3597 d.BodyEnable(Body);
3598 m_bodydisablecontrol = -4; 3598 m_bodydisablecontrol = -3;
3599 } 3599 }
3600 3600
3601 if(m_bodydisablecontrol < 0) 3601 if(m_bodydisablecontrol < 0)