suspend the use of SelectedObjects list. It is not threadSafe and is not in use (possible cant even be used)

LSLKeyTest
UbitUmarov 2016-08-25 07:12:50 +01:00
parent 991dd5f471
commit 90fc4183dc
1 changed files with 0 additions and 4 deletions

View File

@ -7720,8 +7720,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
for (int i = 0; i < incomingselect.ObjectData.Length; i++) for (int i = 0; i < incomingselect.ObjectData.Length; i++)
{ {
objID = incomingselect.ObjectData[i].ObjectLocalID; objID = incomingselect.ObjectData[i].ObjectLocalID;
if (!SelectedObjects.Contains(objID))
SelectedObjects.Add(objID);
thisSelection.Add(objID); thisSelection.Add(objID);
} }
@ -7748,8 +7746,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
for (int i = 0; i < incomingdeselect.ObjectData.Length; i++) for (int i = 0; i < incomingdeselect.ObjectData.Length; i++)
{ {
objID = incomingdeselect.ObjectData[i].ObjectLocalID; objID = incomingdeselect.ObjectData[i].ObjectLocalID;
if (SelectedObjects.Contains(objID))
SelectedObjects.Remove(objID);
handlerObjectDeselect = OnObjectDeselect; handlerObjectDeselect = OnObjectDeselect;
if (handlerObjectDeselect != null) if (handlerObjectDeselect != null)