diff options
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs index ee80b10..8d87c30 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | |||
@@ -1724,8 +1724,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
1724 | 1724 | ||
1725 | case ActorTypes.Prim: | 1725 | case ActorTypes.Prim: |
1726 | OdePrim pobj = (OdePrim)obj; | 1726 | OdePrim pobj = (OdePrim)obj; |
1727 | if (pobj.Body == IntPtr.Zero || (d.BodyIsEnabled(pobj.Body) && !pobj.m_outbounds)) | 1727 | if (!pobj.m_outbounds && (pobj.Body == IntPtr.Zero || d.BodyIsEnabled(pobj.Body))) |
1728 | if (!pobj.m_outbounds) | ||
1729 | { | 1728 | { |
1730 | pobj.AddCollisionFrameTime((int)(odetimestepMS)); | 1729 | pobj.AddCollisionFrameTime((int)(odetimestepMS)); |
1731 | pobj.SendCollisions(); | 1730 | pobj.SendCollisions(); |