* Stop prim attach being signalled twice (it is already been done outside AttachToScene())

0.6.0-stable
Justin Clarke Casey 2008-11-07 19:30:20 +00:00
parent e34eaec553
commit f3edbcfa3b
1 changed files with 1 additions and 5 deletions

View File

@ -563,7 +563,7 @@ namespace OpenSim.Region.Environment.Scenes
} }
/// <summary> /// <summary>
/// Attach the given group to a scene. It will appear to agents. /// Attach this object to a scene. It will also now appear to agents.
/// </summary> /// </summary>
/// <param name="scene"></param> /// <param name="scene"></param>
public void AttachToScene(Scene scene) public void AttachToScene(Scene scene)
@ -587,10 +587,6 @@ namespace OpenSim.Region.Environment.Scenes
ApplyPhysics(m_scene.m_physicalPrim); ApplyPhysics(m_scene.m_physicalPrim);
// one of these is a proxy.
if (m_rootPart.Shape.PCode != (byte)PCode.None && m_rootPart.Shape.PCode != (byte)PCode.ParticleSystem)
AttachToBackup();
ScheduleGroupForFullUpdate(); ScheduleGroupForFullUpdate();
} }