* Fixed a long standing race condition in physics events. Could this be the source of the null on multicast_void: error?

This commit is contained in:
Teravus Ovares
2008-02-20 17:50:19 +00:00
parent 416d752829
commit 07774473af

View File

@@ -138,7 +138,7 @@ namespace OpenSim.Region.Physics.Manager
RequestTerseUpdate handler = OnRequestTerseUpdate;
if (handler != null)
{
OnRequestTerseUpdate();
handler();
}
}
@@ -150,7 +150,7 @@ namespace OpenSim.Region.Physics.Manager
OutOfBounds handler = OnOutOfBounds;
if (handler != null)
{
OnOutOfBounds(pos);
handler(pos);
}
}
@@ -159,7 +159,7 @@ namespace OpenSim.Region.Physics.Manager
CollisionUpdate handler = OnCollisionUpdate;
if (handler != null)
{
OnCollisionUpdate(e);
handler(e);
}
}