From 90fc4183dcad341f9e77c08069ec890bbbd61f80 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 25 Aug 2016 07:12:50 +0100 Subject: suspend the use of SelectedObjects list. It is not threadSafe and is not in use (possible cant even be used) --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 5b39cc5..47869bd 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -7720,8 +7720,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP for (int i = 0; i < incomingselect.ObjectData.Length; i++) { objID = incomingselect.ObjectData[i].ObjectLocalID; - if (!SelectedObjects.Contains(objID)) - SelectedObjects.Add(objID); thisSelection.Add(objID); } @@ -7748,8 +7746,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP for (int i = 0; i < incomingdeselect.ObjectData.Length; i++) { objID = incomingdeselect.ObjectData[i].ObjectLocalID; - if (SelectedObjects.Contains(objID)) - SelectedObjects.Remove(objID); handlerObjectDeselect = OnObjectDeselect; if (handlerObjectDeselect != null) -- cgit v1.1