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>
|
||||
|
@ -67,6 +75,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
this.SetPartAsRoot(newPart);
|
||||
}
|
||||
|
||||
|
||||
#region Copying
|
||||
/// <summary>
|
||||
///
|
||||
|
@ -102,7 +111,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
{
|
||||
AllNewSceneObjectPart2 newPart = part.Copy(m_scene);
|
||||
this.m_parts.Add(newPart.UUID, newPart);
|
||||
newPart.ParentID = this.m_rootPart.LocalID;
|
||||
this.SetPartAsNonRoot(newPart);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
@ -499,7 +508,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
/// <param name="part"></param>
|
||||
private void SetPartAsNonRoot(AllNewSceneObjectPart2 part)
|
||||
{
|
||||
|
||||
part.ParentID = this.m_rootPart.LocalID;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -296,7 +296,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recreate a SceneObjectPart (prim)
|
||||
/// Re/create a SceneObjectPart (prim)
|
||||
/// </summary>
|
||||
/// <param name="regionHandle"></param>
|
||||
/// <param name="parent"></param>
|
||||
|
@ -553,8 +553,6 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
|
||||
remoteClient.SendPrimTerseUpdate(m_regionHandle, 64096, LocalID, lPos, mRot);
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue