aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index c4b7b27..1beb584 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -1846,6 +1846,7 @@ namespace OpenSim.Region.Framework.Scenes
1846 SceneObjectGroupsByLocalPartID[part.LocalId] = parentGroup; 1846 SceneObjectGroupsByLocalPartID[part.LocalId] = parentGroup;
1847 } 1847 }
1848 1848
1849 parentGroup.AdjustChildPrimPermissions();
1849 parentGroup.HasGroupChanged = true; 1850 parentGroup.HasGroupChanged = true;
1850 parentGroup.ProcessBackup(m_parentScene.SimulationDataService, true); 1851 parentGroup.ProcessBackup(m_parentScene.SimulationDataService, true);
1851 parentGroup.ScheduleGroupForFullUpdate(); 1852 parentGroup.ScheduleGroupForFullUpdate();
@@ -1986,6 +1987,7 @@ namespace OpenSim.Region.Framework.Scenes
1986 // return unless the root is deleted. This will remove them 1987 // return unless the root is deleted. This will remove them
1987 // from the database. They will be rewritten immediately, 1988 // from the database. They will be rewritten immediately,
1988 // minus the rows for the unlinked child prims. 1989 // minus the rows for the unlinked child prims.
1990 g.AdjustChildPrimPermissions();
1989 m_parentScene.SimulationDataService.RemoveObject(g.UUID, m_parentScene.RegionInfo.RegionID); 1991 m_parentScene.SimulationDataService.RemoveObject(g.UUID, m_parentScene.RegionInfo.RegionID);
1990 g.TriggerScriptChangedEvent(Changed.LINK); 1992 g.TriggerScriptChangedEvent(Changed.LINK);
1991 g.HasGroupChanged = true; // Persist 1993 g.HasGroupChanged = true; // Persist