diff options
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 5900c78..3397384 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -132,6 +132,10 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
132 | foreach (OdeCharacter chr in _characters) | 132 | foreach (OdeCharacter chr in _characters) |
133 | { | 133 | { |
134 | d.SpaceCollide2(space, chr.capsule_geom, IntPtr.Zero, nearCallback); | 134 | d.SpaceCollide2(space, chr.capsule_geom, IntPtr.Zero, nearCallback); |
135 | foreach (OdeCharacter ch2 in _characters) /// should be a separate space -- lots of avatars will be N**2 slow | ||
136 | { | ||
137 | d.SpaceCollide2(chr.capsule_geom, ch2.capsule_geom, IntPtr.Zero, nearCallback); | ||
138 | } | ||
135 | } | 139 | } |
136 | } | 140 | } |
137 | 141 | ||