mantis 8458: don't forget prims on search map on link/unlink

0.9.1.0-post-fixes
UbitUmarov 2019-01-19 07:09:39 +00:00
parent cc19957e0a
commit bef8ea8bcc
1 changed files with 8 additions and 6 deletions

View File

@ -573,7 +573,8 @@ namespace OpenSim.Region.Framework.Scenes
m_scenePartsLock.EnterWriteLock();
entered = true;
}
if (!resultOfObjectLinked)
{
for (int i = 0; i < parts.Length; ++i)
{
part = parts[i];
@ -581,6 +582,7 @@ namespace OpenSim.Region.Framework.Scenes
m_scenePartsByLocalID.Remove(part.LocalId);
}
m_scenePartsArray = null;
}
ret = Entities.Remove(uuid);
}
finally