From 33655e40df658708502ce28f39773a793210c8b2 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 13 Jul 2016 16:15:35 +0100 Subject: slow down culling kills even more --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index bd6cafc..a5c7bcf 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -4404,6 +4404,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP HashSet NewGroupsInView = new HashSet(); HashSet GroupsNeedFullUpdate = new HashSet(); List kills = new List(); + int killedParst = 0; EntityBase[] entities = m_scene.Entities.GetEntities(); foreach (EntityBase e in entities) @@ -4434,10 +4435,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP if(inview) { kills.Add(grp.LocalId); - if (kills.Count > 100) + killedParst = grp.PrimCount; + + if (killedParst > 200 ) { SendKillObject(kills); kills.Clear(); + killedParst = 0; Thread.Sleep(50); if(mysp != null && !mysp.IsDeleted) { -- cgit v1.1