ubOde actually revert last change don't send unnecessary empty collisions, will patch it elsewhere
parent
c303cf7412
commit
0a9f06fda7
|
@ -1580,14 +1580,14 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
|||
|
||||
int ncolisions = CollisionEventsThisFrame.m_objCollisionList.Count;
|
||||
|
||||
// if (!SentEmptyCollisionsEvent || ncolisions > 0)
|
||||
if (!SentEmptyCollisionsEvent || ncolisions > 0)
|
||||
{
|
||||
base.SendCollisionUpdate(CollisionEventsThisFrame);
|
||||
|
||||
if (ncolisions == 0)
|
||||
{
|
||||
SentEmptyCollisionsEvent = true;
|
||||
// _parent_scene.RemoveCollisionEventReporting(this);
|
||||
_parent_scene.RemoveCollisionEventReporting(this);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue