aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorUbitUmarov2019-01-19 07:09:39 +0000
committerUbitUmarov2019-01-19 07:09:39 +0000
commitbef8ea8bcc01bf6e478e190932e3abbb83c966b1 (patch)
tree756cf17988de5dc9d7fa274bb0f2a1d1a434a964 /OpenSim/Region/Framework/Scenes
parenta few more changes to tp home (diff)
downloadopensim-SC-bef8ea8bcc01bf6e478e190932e3abbb83c966b1.zip
opensim-SC-bef8ea8bcc01bf6e478e190932e3abbb83c966b1.tar.gz
opensim-SC-bef8ea8bcc01bf6e478e190932e3abbb83c966b1.tar.bz2
opensim-SC-bef8ea8bcc01bf6e478e190932e3abbb83c966b1.tar.xz
mantis 8458: don't forget prims on search map on link/unlink
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/SceneGraph.cs14
1 files changed, 8 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 17efcc5..206e317 100755
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -573,14 +573,16 @@ namespace OpenSim.Region.Framework.Scenes
573 m_scenePartsLock.EnterWriteLock(); 573 m_scenePartsLock.EnterWriteLock();
574 entered = true; 574 entered = true;
575 } 575 }
576 576 if (!resultOfObjectLinked)
577 for (int i = 0; i < parts.Length; ++i)
578 { 577 {
579 part = parts[i]; 578 for (int i = 0; i < parts.Length; ++i)
580 m_scenePartsByID.Remove(part.UUID); 579 {
581 m_scenePartsByLocalID.Remove(part.LocalId); 580 part = parts[i];
581 m_scenePartsByID.Remove(part.UUID);
582 m_scenePartsByLocalID.Remove(part.LocalId);
583 }
584 m_scenePartsArray = null;
582 } 585 }
583 m_scenePartsArray = null;
584 ret = Entities.Remove(uuid); 586 ret = Entities.Remove(uuid);
585 } 587 }
586 finally 588 finally