diff options
Diffstat (limited to 'OpenSim')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index b526fe9..ea037be 100755 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -1913,9 +1913,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1913 | { | 1913 | { |
1914 | if (parentGroup.OwnerID == child.OwnerID) | 1914 | if (parentGroup.OwnerID == child.OwnerID) |
1915 | { | 1915 | { |
1916 | parentGroup.LinkToGroup(child); | ||
1917 | |||
1918 | child.DetachFromBackup(); | 1916 | child.DetachFromBackup(); |
1917 | parentGroup.LinkToGroup(child); | ||
1919 | 1918 | ||
1920 | // this is here so physics gets updated! | 1919 | // this is here so physics gets updated! |
1921 | // Don't remove! Bad juju! Stay away! or fix physics! | 1920 | // Don't remove! Bad juju! Stay away! or fix physics! |
@@ -1943,7 +1942,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1943 | */ | 1942 | */ |
1944 | parentGroup.AdjustChildPrimPermissions(false); | 1943 | parentGroup.AdjustChildPrimPermissions(false); |
1945 | parentGroup.HasGroupChanged = true; | 1944 | parentGroup.HasGroupChanged = true; |
1946 | parentGroup.ProcessBackup(m_parentScene.SimulationDataService, true); | ||
1947 | parentGroup.ScheduleGroupForFullAnimUpdate(); | 1945 | parentGroup.ScheduleGroupForFullAnimUpdate(); |
1948 | Monitor.Exit(m_linkLock); | 1946 | Monitor.Exit(m_linkLock); |
1949 | } | 1947 | } |