Fix bug where on duplication, the root part local id was continually used in populating the local id scene object index instead of each part's local id

This commit is contained in:
Justin Clark-Casey (justincc)
2011-04-06 20:52:36 +01:00
parent 8318915d7e
commit 9bc2705f37

View File

@@ -1855,7 +1855,7 @@ namespace OpenSim.Region.Framework.Scenes
{
SceneObjectGroupsByLocalPartID[copy.LocalId] = copy;
foreach (SceneObjectPart part in children)
SceneObjectGroupsByLocalPartID[copy.LocalId] = copy;
SceneObjectGroupsByLocalPartID[part.LocalId] = copy;
}
// PROBABLE END OF FIXME