ubOde actually revert last change don't send unnecessary empty collisions, will patch it elsewhere

LSLKeyTest
UbitUmarov 2016-07-24 22:33:31 +01:00
parent c303cf7412
commit 0a9f06fda7
1 changed files with 2 additions and 2 deletions

View File

@ -1580,14 +1580,14 @@ namespace OpenSim.Region.PhysicsModule.ubOde
int ncolisions = CollisionEventsThisFrame.m_objCollisionList.Count; int ncolisions = CollisionEventsThisFrame.m_objCollisionList.Count;
// if (!SentEmptyCollisionsEvent || ncolisions > 0) if (!SentEmptyCollisionsEvent || ncolisions > 0)
{ {
base.SendCollisionUpdate(CollisionEventsThisFrame); base.SendCollisionUpdate(CollisionEventsThisFrame);
if (ncolisions == 0) if (ncolisions == 0)
{ {
SentEmptyCollisionsEvent = true; SentEmptyCollisionsEvent = true;
// _parent_scene.RemoveCollisionEventReporting(this); _parent_scene.RemoveCollisionEventReporting(this);
} }
else else
{ {