diff options
author | UbitUmarov | 2017-07-13 20:21:18 +0100 |
---|---|---|
committer | UbitUmarov | 2017-07-13 20:21:18 +0100 |
commit | 8b16131206818329e973faec3a9861fca37f0073 (patch) | |
tree | d2fa5fde6441f83e2396bd5893f9c6fd368f5cdd /OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs | |
parent | update libomv fixing EnUsCulture (diff) | |
download | opensim-SC-8b16131206818329e973faec3a9861fca37f0073.zip opensim-SC-8b16131206818329e973faec3a9861fca37f0073.tar.gz opensim-SC-8b16131206818329e973faec3a9861fca37f0073.tar.bz2 opensim-SC-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 '')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs | 4 |
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) |