mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
ubOde actually revert last change don't send unnecessary empty collisions, will patch it elsewhere
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user