Minor formatting cleanup.
parent
3fd35f9fbe
commit
395a0f7977
|
@ -1836,13 +1836,13 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
// the root prim. Shuffle the old ones up
|
// the root prim. Shuffle the old ones up
|
||||||
foreach (KeyValuePair<UUID, SceneObjectPart> kvp in m_parts)
|
foreach (KeyValuePair<UUID, SceneObjectPart> kvp in m_parts)
|
||||||
{
|
{
|
||||||
if (kvp.Value.LinkNum != 1) {
|
if (kvp.Value.LinkNum != 1)
|
||||||
|
{
|
||||||
// Don't update root prim link number
|
// Don't update root prim link number
|
||||||
kvp.Value.LinkNum += objectGroup.PrimCount;
|
kvp.Value.LinkNum += objectGroup.PrimCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
linkPart.LinkNum = 2;
|
linkPart.LinkNum = 2;
|
||||||
|
|
||||||
linkPart.SetParent(this);
|
linkPart.SetParent(this);
|
||||||
|
|
Loading…
Reference in New Issue