diff options
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) |