Yet another commit related to the SceneObject rewrites.
parent
c9a5d4bc4b
commit
0975ff6cfd
|
@ -52,6 +52,14 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public AllNewSceneObjectGroup2(byte[] data)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -67,6 +75,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
this.SetPartAsRoot(newPart);
|
this.SetPartAsRoot(newPart);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#region Copying
|
#region Copying
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
///
|
||||||
|
@ -102,7 +111,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
{
|
{
|
||||||
AllNewSceneObjectPart2 newPart = part.Copy(m_scene);
|
AllNewSceneObjectPart2 newPart = part.Copy(m_scene);
|
||||||
this.m_parts.Add(newPart.UUID, newPart);
|
this.m_parts.Add(newPart.UUID, newPart);
|
||||||
newPart.ParentID = this.m_rootPart.LocalID;
|
this.SetPartAsNonRoot(newPart);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -499,7 +508,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
/// <param name="part"></param>
|
/// <param name="part"></param>
|
||||||
private void SetPartAsNonRoot(AllNewSceneObjectPart2 part)
|
private void SetPartAsNonRoot(AllNewSceneObjectPart2 part)
|
||||||
{
|
{
|
||||||
|
part.ParentID = this.m_rootPart.LocalID;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -296,7 +296,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Recreate a SceneObjectPart (prim)
|
/// Re/create a SceneObjectPart (prim)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="regionHandle"></param>
|
/// <param name="regionHandle"></param>
|
||||||
/// <param name="parent"></param>
|
/// <param name="parent"></param>
|
||||||
|
@ -553,8 +553,6 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
|
|
||||||
remoteClient.SendPrimTerseUpdate(m_regionHandle, 64096, LocalID, lPos, mRot);
|
remoteClient.SendPrimTerseUpdate(m_regionHandle, 64096, LocalID, lPos, mRot);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue