diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs index 86eb773..b23be91 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | |||
@@ -708,8 +708,8 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters | |||
708 | } | 708 | } |
709 | 709 | ||
710 | List<BSPhysObject> orderedPrims = new List<BSPhysObject>(PhysObjects.Values); | 710 | List<BSPhysObject> orderedPrims = new List<BSPhysObject>(PhysObjects.Values); |
711 | orderedPrims.OrderByDescending(p => p.CollisionScore).Take(25); | 711 | orderedPrims.OrderByDescending(p => p.CollisionScore); |
712 | topColliders = orderedPrims.ToDictionary(p => p.LocalID, p => p.CollisionScore); | 712 | topColliders = orderedPrims.Take(25).ToDictionary(p => p.LocalID, p => p.CollisionScore); |
713 | } | 713 | } |
714 | 714 | ||
715 | return topColliders; | 715 | return topColliders; |