mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* Stop prim attach being signalled twice (it is already been done outside AttachToScene())
This commit is contained in:
@@ -563,7 +563,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
}
|
||||
|
||||
/// <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>
|
||||
/// <param name="scene"></param>
|
||||
public void AttachToScene(Scene scene)
|
||||
@@ -587,10 +587,6 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user