mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
still issues with volume detectors and sleeping bodies
This commit is contained in:
@@ -1205,13 +1205,17 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
}
|
||||
}
|
||||
|
||||
internal void clearSleeperCollisions()
|
||||
{
|
||||
if(CollisionVDTCEventsThisFrame != null && CollisionVDTCEventsThisFrame.Count >0 )
|
||||
CollisionVDTCEventsThisFrame.Clear();
|
||||
}
|
||||
|
||||
public void SendCollisions(int timestep)
|
||||
{
|
||||
if (m_cureventsubscription < 50000)
|
||||
m_cureventsubscription += timestep;
|
||||
|
||||
if(CollisionVDTCEventsThisFrame != null && CollisionVDTCEventsThisFrame.Count >0 && (Body == IntPtr.Zero || d.BodyIsEnabled(Body)))
|
||||
CollisionVDTCEventsThisFrame.Clear();
|
||||
|
||||
if (m_cureventsubscription < m_eventsubscription)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user