Make sure unlinked child prims get persisted

viewer-2-initial-appearance
Melanie 2010-09-07 11:48:28 +01:00
parent 99bfb0d2a2
commit 8fda08d858
1 changed files with 5 additions and 0 deletions

View File

@ -1632,6 +1632,11 @@ namespace OpenSim.Region.Framework.Scenes
// Unlink all child parts from their groups // Unlink all child parts from their groups
// //
child.ParentGroup.DelinkFromGroup(child, true); child.ParentGroup.DelinkFromGroup(child, true);
// These are not in affected groups and will not be
// handled further. Do the honors here.
child.ParentGroup.HasGroupChanged = true;
child.ParentGroup.ScheduleGroupForFullUpdate();
} }
foreach (SceneObjectPart root in rootParts) foreach (SceneObjectPart root in rootParts)