From 6574690c7bf3bf03e3e368f57eb4a19aec511c7c Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Thu, 30 Jun 2011 14:10:00 -0700 Subject: [PATCH] Add FullPartID dictonary entry into AddNewSceneObjectBySync --- OpenSim/Region/Framework/Scenes/SceneGraph.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 2cd4198123..cd87f6bfed 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs @@ -2166,12 +2166,14 @@ namespace OpenSim.Region.Framework.Scenes if (OnObjectCreateBySync != null) OnObjectCreateBySync(sceneObject); - lock (SceneObjectGroupsByFullID) - { SceneObjectGroupsByFullID[sceneObject.UUID] = sceneObject; + + lock (SceneObjectGroupsByFullPartID) + { + SceneObjectGroupsByFullPartID[sceneObject.UUID] = sceneObject; foreach (SceneObjectPart part in children) - SceneObjectGroupsByFullID[part.UUID] = sceneObject; + SceneObjectGroupsByFullPartID[part.UUID] = sceneObject; } lock (SceneObjectGroupsByLocalPartID)