diff options
author | UbitUmarov | 2014-08-26 00:00:21 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-26 00:00:21 +0100 |
commit | 3ee6144d0ca1d35d6660b006b89fc883e1a2bfda (patch) | |
tree | f9528b3b144074b9ca271fcab94fb008c5b6d567 /OpenSim/Region | |
parent | *test* back to no sog kills, little retouch on attachment updates, (diff) | |
download | opensim-SC-3ee6144d0ca1d35d6660b006b89fc883e1a2bfda.zip opensim-SC-3ee6144d0ca1d35d6660b006b89fc883e1a2bfda.tar.gz opensim-SC-3ee6144d0ca1d35d6660b006b89fc883e1a2bfda.tar.bz2 opensim-SC-3ee6144d0ca1d35d6660b006b89fc883e1a2bfda.tar.xz |
even less kills on tps
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 58d3ef6..9fe3a9e 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -5966,7 +5966,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
5966 | public void HasMovedAway() | 5966 | public void HasMovedAway() |
5967 | { | 5967 | { |
5968 | List<ScenePresence> allpresences = m_scene.GetScenePresences(); | 5968 | List<ScenePresence> allpresences = m_scene.GetScenePresences(); |
5969 | foreach (ScenePresence p in allpresences) | 5969 | /* foreach (ScenePresence p in allpresences) |
5970 | { | 5970 | { |
5971 | if (p == this) | 5971 | if (p == this) |
5972 | continue; | 5972 | continue; |
@@ -5974,6 +5974,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
5974 | if (!p.IsChildAgent) | 5974 | if (!p.IsChildAgent) |
5975 | p.SendKillTo(this); | 5975 | p.SendKillTo(this); |
5976 | } | 5976 | } |
5977 | */ | ||
5977 | if (Scene.AttachmentsModule != null) | 5978 | if (Scene.AttachmentsModule != null) |
5978 | Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true); | 5979 | Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true); |
5979 | } | 5980 | } |