mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
remove redundant check
This commit is contained in:
@@ -1724,8 +1724,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
|
||||
case ActorTypes.Prim:
|
||||
OdePrim pobj = (OdePrim)obj;
|
||||
if (pobj.Body == IntPtr.Zero || (d.BodyIsEnabled(pobj.Body) && !pobj.m_outbounds))
|
||||
if (!pobj.m_outbounds)
|
||||
if (!pobj.m_outbounds && (pobj.Body == IntPtr.Zero || d.BodyIsEnabled(pobj.Body)))
|
||||
{
|
||||
pobj.AddCollisionFrameTime((int)(odetimestepMS));
|
||||
pobj.SendCollisions();
|
||||
|
||||
Reference in New Issue
Block a user