diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs index 2b29ce4..c3279c6 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs | |||
@@ -1633,6 +1633,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1633 | /// <param name="obj"></param> | 1633 | /// <param name="obj"></param> |
1634 | internal void AddCollisionEventReporting(PhysicsActor obj) | 1634 | internal void AddCollisionEventReporting(PhysicsActor obj) |
1635 | { | 1635 | { |
1636 | // m_log.DebugFormat("[PHYSICS]: Adding {0} to collision event reporting", obj.SOPName); | ||
1637 | |||
1636 | lock (_collisionEventPrim) | 1638 | lock (_collisionEventPrim) |
1637 | { | 1639 | { |
1638 | if (!_collisionEventPrim.Contains(obj)) | 1640 | if (!_collisionEventPrim.Contains(obj)) |
@@ -1646,11 +1648,10 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1646 | /// <param name="obj"></param> | 1648 | /// <param name="obj"></param> |
1647 | internal void RemoveCollisionEventReporting(PhysicsActor obj) | 1649 | internal void RemoveCollisionEventReporting(PhysicsActor obj) |
1648 | { | 1650 | { |
1651 | // m_log.DebugFormat("[PHYSICS]: Removing {0} from collision event reporting", obj.SOPName); | ||
1652 | |||
1649 | lock (_collisionEventPrim) | 1653 | lock (_collisionEventPrim) |
1650 | { | 1654 | _collisionEventPrim.Remove(obj); |
1651 | if (!_collisionEventPrim.Contains(obj)) | ||
1652 | _collisionEventPrim.Remove(obj); | ||
1653 | } | ||
1654 | } | 1655 | } |
1655 | 1656 | ||
1656 | #region Add/Remove Entities | 1657 | #region Add/Remove Entities |