If setting SOG.UUID, update the SOG.m_parts index as well as the root part UUID
Being able to change a SOG.UUID is useful for region modules that want to supply their own UUID, before the object is rezzedprebuild-update
parent
46c6c35d48
commit
24d06b12c2
|
@ -335,7 +335,16 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
public override UUID UUID
|
public override UUID UUID
|
||||||
{
|
{
|
||||||
get { return m_rootPart.UUID; }
|
get { return m_rootPart.UUID; }
|
||||||
set { m_rootPart.UUID = value; }
|
set
|
||||||
|
{
|
||||||
|
m_rootPart.UUID = value;
|
||||||
|
|
||||||
|
lock (m_parts)
|
||||||
|
{
|
||||||
|
m_parts.Remove(m_rootPart.UUID);
|
||||||
|
m_parts.Add(m_rootPart.UUID, m_rootPart);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public UUID OwnerID
|
public UUID OwnerID
|
||||||
|
|
Loading…
Reference in New Issue