diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index f787190..6945acb 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -456,6 +456,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
456 | this.m_parts.Add(linkPart.UUID, linkPart); | 456 | this.m_parts.Add(linkPart.UUID, linkPart); |
457 | linkPart.SetParent(this); | 457 | linkPart.SetParent(this); |
458 | 458 | ||
459 | if (linkPart.PhysActor != null) | ||
460 | { | ||
461 | m_scene.PhysScene.RemovePrim(linkPart.PhysActor); | ||
462 | linkPart.PhysActor = null; | ||
463 | } | ||
464 | |||
459 | //TODO: rest of parts | 465 | //TODO: rest of parts |
460 | foreach (SceneObjectPart part in objectGroup.Children.Values) | 466 | foreach (SceneObjectPart part in objectGroup.Children.Values) |
461 | { | 467 | { |