From f3edbcfa3b0cea2c8d9e09dbbd0152b0eeca8565 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Fri, 7 Nov 2008 19:30:20 +0000
Subject: * Stop prim attach being signalled twice (it is already been done
outside AttachToScene())
---
OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
(limited to 'OpenSim/Region/Environment/Scenes')
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 27a3d8a..4c93a88 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -563,7 +563,7 @@ namespace OpenSim.Region.Environment.Scenes
}
///
- /// 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.
///
///
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();
}
--
cgit v1.1