diff options
author | Melanie | 2010-09-07 11:48:28 +0100 |
---|---|---|
committer | Melanie | 2010-09-07 11:48:28 +0100 |
commit | 8fda08d858091fcc425bfa146a8b44899029ed01 (patch) | |
tree | 17f6b7214fe0d7d0579588f41aa717132443adc3 | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-8fda08d858091fcc425bfa146a8b44899029ed01.zip opensim-SC_OLD-8fda08d858091fcc425bfa146a8b44899029ed01.tar.gz opensim-SC_OLD-8fda08d858091fcc425bfa146a8b44899029ed01.tar.bz2 opensim-SC_OLD-8fda08d858091fcc425bfa146a8b44899029ed01.tar.xz |
Make sure unlinked child prims get persisted
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index e7175c5..dfb26b9 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -1632,6 +1632,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1632 | // Unlink all child parts from their groups | 1632 | // Unlink all child parts from their groups |
1633 | // | 1633 | // |
1634 | child.ParentGroup.DelinkFromGroup(child, true); | 1634 | child.ParentGroup.DelinkFromGroup(child, true); |
1635 | |||
1636 | // These are not in affected groups and will not be | ||
1637 | // handled further. Do the honors here. | ||
1638 | child.ParentGroup.HasGroupChanged = true; | ||
1639 | child.ParentGroup.ScheduleGroupForFullUpdate(); | ||
1635 | } | 1640 | } |
1636 | 1641 | ||
1637 | foreach (SceneObjectPart root in rootParts) | 1642 | foreach (SceneObjectPart root in rootParts) |