diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 21e514b..79c4041 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |||
@@ -2294,14 +2294,12 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2294 | if (CollisionEventsThisFrame == null) | 2294 | if (CollisionEventsThisFrame == null) |
2295 | return; | 2295 | return; |
2296 | 2296 | ||
2297 | //if (CollisionEventsThisFrame.m_objCollisionList == null) | 2297 | base.SendCollisionUpdate(CollisionEventsThisFrame); |
2298 | // return; | ||
2299 | 2298 | ||
2300 | if (CollisionEventsThisFrame.m_objCollisionList.Count > 0) | 2299 | if(CollisionEventsThisFrame.m_objCollisionList.Count == 0) |
2301 | { | 2300 | CollisionEventsThisFrame = null; |
2302 | base.SendCollisionUpdate(CollisionEventsThisFrame); | 2301 | else |
2303 | CollisionEventsThisFrame = new CollisionEventUpdate(); | 2302 | CollisionEventsThisFrame = new CollisionEventUpdate(); |
2304 | } | ||
2305 | } | 2303 | } |
2306 | 2304 | ||
2307 | public override bool SubscribedEvents() | 2305 | public override bool SubscribedEvents() |