* Remove SceneObjectPart.AttachToScene() since the remaining instruction can be done by other means
parent
1e527f3e86
commit
eec8c6cd6e
|
@ -571,17 +571,10 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
public void AttachToScene(Scene scene)
|
||||
{
|
||||
m_scene = scene;
|
||||
RegionHandle = scene.RegionInfo.RegionHandle;
|
||||
|
||||
ApplyPhysics(m_scene.m_physicalPrim);
|
||||
|
||||
lock (m_parts)
|
||||
{
|
||||
foreach (SceneObjectPart part in m_parts.Values)
|
||||
{
|
||||
part.AttachToScene(scene.RegionInfo.RegionHandle);
|
||||
}
|
||||
}
|
||||
|
||||
// one of these is a proxy.
|
||||
if (m_rootPart.Shape.PCode != (byte)PCode.None && m_rootPart.Shape.PCode != (byte)PCode.ParticleSystem)
|
||||
AttachToBackup();
|
||||
|
|
|
@ -3399,14 +3399,7 @@ if (m_shape != null) {
|
|||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Attach this part to a scene such that it appears to avatars
|
||||
/// </summary>
|
||||
protected internal void AttachToScene(ulong regionHandle)
|
||||
{
|
||||
m_regionHandle = regionHandle;
|
||||
}
|
||||
|
||||
|
||||
private byte GetAttachPointEncoded()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue