diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 9fd4728..2f25478 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -571,17 +571,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
571 | public void AttachToScene(Scene scene) | 571 | public void AttachToScene(Scene scene) |
572 | { | 572 | { |
573 | m_scene = scene; | 573 | m_scene = scene; |
574 | RegionHandle = scene.RegionInfo.RegionHandle; | ||
574 | 575 | ||
575 | ApplyPhysics(m_scene.m_physicalPrim); | 576 | ApplyPhysics(m_scene.m_physicalPrim); |
576 | 577 | ||
577 | lock (m_parts) | ||
578 | { | ||
579 | foreach (SceneObjectPart part in m_parts.Values) | ||
580 | { | ||
581 | part.AttachToScene(scene.RegionInfo.RegionHandle); | ||
582 | } | ||
583 | } | ||
584 | |||
585 | // one of these is a proxy. | 578 | // one of these is a proxy. |
586 | if (m_rootPart.Shape.PCode != (byte)PCode.None && m_rootPart.Shape.PCode != (byte)PCode.ParticleSystem) | 579 | if (m_rootPart.Shape.PCode != (byte)PCode.None && m_rootPart.Shape.PCode != (byte)PCode.ParticleSystem) |
587 | AttachToBackup(); | 580 | AttachToBackup(); |