diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index a1da5ee..e29b2c1 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -1793,7 +1793,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1793 | 1793 | ||
1794 | try | 1794 | try |
1795 | { | 1795 | { |
1796 | parentGroup.AreUpdatesSuspended = true; | ||
1797 | 1796 | ||
1798 | List<SceneObjectGroup> childGroups = new List<SceneObjectGroup>(); | 1797 | List<SceneObjectGroup> childGroups = new List<SceneObjectGroup>(); |
1799 | 1798 | ||
@@ -1850,7 +1849,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1850 | SceneObjectGroupsByLocalPartID[part.LocalId] = parentGroup; | 1849 | SceneObjectGroupsByLocalPartID[part.LocalId] = parentGroup; |
1851 | } | 1850 | } |
1852 | 1851 | ||
1853 | parentGroup.AreUpdatesSuspended = false; | ||
1854 | parentGroup.HasGroupChanged = true; | 1852 | parentGroup.HasGroupChanged = true; |
1855 | parentGroup.ProcessBackup(m_parentScene.SimulationDataService, true); | 1853 | parentGroup.ProcessBackup(m_parentScene.SimulationDataService, true); |
1856 | parentGroup.ScheduleGroupForFullUpdate(); | 1854 | parentGroup.ScheduleGroupForFullUpdate(); |
@@ -1896,7 +1894,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1896 | SceneObjectGroup group = part.ParentGroup; | 1894 | SceneObjectGroup group = part.ParentGroup; |
1897 | if (!affectedGroups.Contains(group)) | 1895 | if (!affectedGroups.Contains(group)) |
1898 | { | 1896 | { |
1899 | group.AreUpdatesSuspended = true; | ||
1900 | affectedGroups.Add(group); | 1897 | affectedGroups.Add(group); |
1901 | } | 1898 | } |
1902 | } | 1899 | } |
@@ -1922,7 +1919,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1922 | // However, editing linked parts and unlinking may be different | 1919 | // However, editing linked parts and unlinking may be different |
1923 | // | 1920 | // |
1924 | SceneObjectGroup group = root.ParentGroup; | 1921 | SceneObjectGroup group = root.ParentGroup; |
1925 | group.AreUpdatesSuspended = true; | ||
1926 | 1922 | ||
1927 | List<SceneObjectPart> newSet = new List<SceneObjectPart>(group.Parts); | 1923 | List<SceneObjectPart> newSet = new List<SceneObjectPart>(group.Parts); |
1928 | int numChildren = newSet.Count; | 1924 | int numChildren = newSet.Count; |
@@ -1945,7 +1941,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1945 | group.DelinkFromGroup(p, sendEventsToRemainder); | 1941 | group.DelinkFromGroup(p, sendEventsToRemainder); |
1946 | if (numChildren > 2) | 1942 | if (numChildren > 2) |
1947 | { | 1943 | { |
1948 | p.ParentGroup.AreUpdatesSuspended = true; | ||
1949 | } | 1944 | } |
1950 | else | 1945 | else |
1951 | { | 1946 | { |
@@ -1980,7 +1975,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1980 | foreach (SceneObjectPart newChild in newSet) | 1975 | foreach (SceneObjectPart newChild in newSet) |
1981 | newChild.ClearUpdateSchedule(); | 1976 | newChild.ClearUpdateSchedule(); |
1982 | 1977 | ||
1983 | newRoot.ParentGroup.AreUpdatesSuspended = true; | ||
1984 | LinkObjects(newRoot, newSet); | 1978 | LinkObjects(newRoot, newSet); |
1985 | if (!affectedGroups.Contains(newRoot.ParentGroup)) | 1979 | if (!affectedGroups.Contains(newRoot.ParentGroup)) |
1986 | affectedGroups.Add(newRoot.ParentGroup); | 1980 | affectedGroups.Add(newRoot.ParentGroup); |
@@ -1998,7 +1992,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1998 | m_parentScene.SimulationDataService.RemoveObject(g.UUID, m_parentScene.RegionInfo.RegionID); | 1992 | m_parentScene.SimulationDataService.RemoveObject(g.UUID, m_parentScene.RegionInfo.RegionID); |
1999 | g.TriggerScriptChangedEvent(Changed.LINK); | 1993 | g.TriggerScriptChangedEvent(Changed.LINK); |
2000 | g.HasGroupChanged = true; // Persist | 1994 | g.HasGroupChanged = true; // Persist |
2001 | g.AreUpdatesSuspended = false; | ||
2002 | g.ScheduleGroupForFullUpdate(); | 1995 | g.ScheduleGroupForFullUpdate(); |
2003 | } | 1996 | } |
2004 | } | 1997 | } |