From 3ee6144d0ca1d35d6660b006b89fc883e1a2bfda Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 26 Aug 2014 00:00:21 +0100 Subject: [PATCH] even less kills on tps --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 58d3ef6f6c..9fe3a9e212 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -5966,7 +5966,7 @@ namespace OpenSim.Region.Framework.Scenes public void HasMovedAway() { List allpresences = m_scene.GetScenePresences(); - foreach (ScenePresence p in allpresences) + /* foreach (ScenePresence p in allpresences) { if (p == this) continue; @@ -5974,6 +5974,7 @@ namespace OpenSim.Region.Framework.Scenes if (!p.IsChildAgent) p.SendKillTo(this); } + */ if (Scene.AttachmentsModule != null) Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true); }