mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
When sending object collision updates, don't null out and recreate the CollisionEventUpdate() if the number of collisions falls to zero. Reuse the existing one instead.
This commit is contained in:
@@ -70,6 +70,11 @@ namespace OpenSim.Region.Physics.Manager
|
||||
{
|
||||
// Raising the event on the object, so don't need to provide location.. further up the tree knows that info.
|
||||
|
||||
/// <summary>
|
||||
/// Number of collision events in this update.
|
||||
/// </summary>
|
||||
public int Count { get { return m_objCollisionList.Count; } }
|
||||
|
||||
public int m_colliderType;
|
||||
public int m_GenericStartEnd;
|
||||
//public uint m_LocalID;
|
||||
|
||||
Reference in New Issue
Block a user