Merge branch 'dev' into dsg
commit
c06d9569d2
|
@ -2166,12 +2166,14 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (OnObjectCreateBySync != null)
|
if (OnObjectCreateBySync != null)
|
||||||
OnObjectCreateBySync(sceneObject);
|
OnObjectCreateBySync(sceneObject);
|
||||||
|
|
||||||
|
|
||||||
lock (SceneObjectGroupsByFullID)
|
lock (SceneObjectGroupsByFullID)
|
||||||
{
|
|
||||||
SceneObjectGroupsByFullID[sceneObject.UUID] = sceneObject;
|
SceneObjectGroupsByFullID[sceneObject.UUID] = sceneObject;
|
||||||
|
|
||||||
|
lock (SceneObjectGroupsByFullPartID)
|
||||||
|
{
|
||||||
|
SceneObjectGroupsByFullPartID[sceneObject.UUID] = sceneObject;
|
||||||
foreach (SceneObjectPart part in children)
|
foreach (SceneObjectPart part in children)
|
||||||
SceneObjectGroupsByFullID[part.UUID] = sceneObject;
|
SceneObjectGroupsByFullPartID[part.UUID] = sceneObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
lock (SceneObjectGroupsByLocalPartID)
|
lock (SceneObjectGroupsByLocalPartID)
|
||||||
|
|
Loading…
Reference in New Issue