diff options
author | UbitUmarov | 2018-12-31 13:33:00 +0000 |
---|---|---|
committer | UbitUmarov | 2018-12-31 13:33:00 +0000 |
commit | ae00623b6567eb328eb6249bf2f2f9ad08175844 (patch) | |
tree | babb02a7aea911bc30ab01f7c027b54fcc2bece3 /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | add a bit more persistence (still mysql only) (diff) | |
download | opensim-SC-ae00623b6567eb328eb6249bf2f2f9ad08175844.zip opensim-SC-ae00623b6567eb328eb6249bf2f2f9ad08175844.tar.gz opensim-SC-ae00623b6567eb328eb6249bf2f2f9ad08175844.tar.bz2 opensim-SC-ae00623b6567eb328eb6249bf2f2f9ad08175844.tar.xz |
lost in updates
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 6ba9d7a..6d9844e 100755 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -485,7 +485,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
485 | } | 485 | } |
486 | 486 | ||
487 | if (sendClientUpdates) | 487 | if (sendClientUpdates) |
488 | sceneObject.ScheduleGroupForFullUpdate(); | 488 | sceneObject.ScheduleGroupForFullAnimUpdate(); |
489 | 489 | ||
490 | if (attachToBackup) | 490 | if (attachToBackup) |
491 | sceneObject.AttachToBackup(); | 491 | sceneObject.AttachToBackup(); |
@@ -1825,7 +1825,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1825 | 1825 | ||
1826 | try | 1826 | try |
1827 | { | 1827 | { |
1828 | |||
1829 | List<SceneObjectGroup> childGroups = new List<SceneObjectGroup>(); | 1828 | List<SceneObjectGroup> childGroups = new List<SceneObjectGroup>(); |
1830 | 1829 | ||
1831 | // We do this in reverse to get the link order of the prims correct | 1830 | // We do this in reverse to get the link order of the prims correct |
@@ -1870,8 +1869,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1870 | { | 1869 | { |
1871 | parentGroup.RootPart.CreateSelected = true; | 1870 | parentGroup.RootPart.CreateSelected = true; |
1872 | parentGroup.TriggerScriptChangedEvent(Changed.LINK); | 1871 | parentGroup.TriggerScriptChangedEvent(Changed.LINK); |
1873 | parentGroup.HasGroupChanged = true; | ||
1874 | parentGroup.ScheduleGroupForFullUpdate(); | ||
1875 | } | 1872 | } |
1876 | } | 1873 | } |
1877 | finally | 1874 | finally |
@@ -1886,7 +1883,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1886 | parentGroup.AdjustChildPrimPermissions(false); | 1883 | parentGroup.AdjustChildPrimPermissions(false); |
1887 | parentGroup.HasGroupChanged = true; | 1884 | parentGroup.HasGroupChanged = true; |
1888 | parentGroup.ProcessBackup(m_parentScene.SimulationDataService, true); | 1885 | parentGroup.ProcessBackup(m_parentScene.SimulationDataService, true); |
1889 | parentGroup.ScheduleGroupForFullUpdate(); | 1886 | parentGroup.ScheduleGroupForFullAnimUpdate(); |
1890 | Monitor.Exit(m_updateLock); | 1887 | Monitor.Exit(m_updateLock); |
1891 | } | 1888 | } |
1892 | } | 1889 | } |
@@ -1949,7 +1946,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1949 | child.ParentGroup.DelinkFromGroup(child, true); | 1946 | child.ParentGroup.DelinkFromGroup(child, true); |
1950 | //child.ParentGroup is now other | 1947 | //child.ParentGroup is now other |
1951 | child.ParentGroup.HasGroupChanged = true; | 1948 | child.ParentGroup.HasGroupChanged = true; |
1952 | child.ParentGroup.ScheduleGroupForFullUpdate(); | 1949 | child.ParentGroup.ScheduleGroupForFullAnimUpdate(); |
1953 | } | 1950 | } |
1954 | } | 1951 | } |
1955 | 1952 | ||
@@ -1991,7 +1988,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1991 | newRoot.TriggerScriptChangedEvent(Changed.LINK); | 1988 | newRoot.TriggerScriptChangedEvent(Changed.LINK); |
1992 | newRoot.ParentGroup.HasGroupChanged = true; | 1989 | newRoot.ParentGroup.HasGroupChanged = true; |
1993 | newRoot.ParentGroup.InvalidatePartsLinkMaps(); | 1990 | newRoot.ParentGroup.InvalidatePartsLinkMaps(); |
1994 | newRoot.ParentGroup.ScheduleGroupForFullUpdate(); | 1991 | newRoot.ParentGroup.ScheduleGroupForFullAnimUpdate(); |
1995 | } | 1992 | } |
1996 | } | 1993 | } |
1997 | 1994 | ||
@@ -2131,7 +2128,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2131 | copy.ResumeScripts(); | 2128 | copy.ResumeScripts(); |
2132 | 2129 | ||
2133 | copy.HasGroupChanged = true; | 2130 | copy.HasGroupChanged = true; |
2134 | copy.ScheduleGroupForFullUpdate(); | 2131 | copy.ScheduleGroupForFullAnimUpdate(); |
2135 | return copy; | 2132 | return copy; |
2136 | } | 2133 | } |
2137 | } | 2134 | } |