aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 801e614..713c3ba 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -1758,10 +1758,13 @@ namespace OpenSim.Region.Environment.Scenes
1758 { 1758 {
1759 lock (m_parts) 1759 lock (m_parts)
1760 { 1760 {
1761 m_rootPart.ApplyPhysics(m_rootPart.ObjectFlags, m_physicalPrim);
1761 foreach (SceneObjectPart part in m_parts.Values) 1762 foreach (SceneObjectPart part in m_parts.Values)
1762 { 1763 {
1763 part.ApplyPhysics(m_rootPart.ObjectFlags, m_physicalPrim); 1764 if (part.LocalID != m_rootPart.LocalID)
1764 1765 {
1766 part.ApplyPhysics(m_rootPart.ObjectFlags, m_physicalPrim);
1767 }
1765 // Hack to get the physics scene geometries in the right spot 1768 // Hack to get the physics scene geometries in the right spot
1766 ResetChildPrimPhysicsPositions(); 1769 ResetChildPrimPhysicsPositions();
1767 1770