Add FullPartID dictonary entry into AddNewSceneObjectBySync
parent
5e8f24a44a
commit
6574690c7b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue