* Remove SceneObjectPart.AttachToScene() since the remaining instruction can be done by other means

0.6.0-stable
Justin Clarke Casey 2008-11-06 23:40:58 +00:00
parent 1e527f3e86
commit eec8c6cd6e
2 changed files with 2 additions and 16 deletions

View File

@ -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();

View File

@ -3400,13 +3400,6 @@ 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()
{