dont try to backup a object in the middle of possible multipack link

0.9.1.0-post-fixes
UbitUmarov 2019-03-05 17:03:17 +00:00
parent 0944a96517
commit 39f73b82d4
1 changed files with 1 additions and 3 deletions

View File

@ -1913,9 +1913,8 @@ namespace OpenSim.Region.Framework.Scenes
{
if (parentGroup.OwnerID == child.OwnerID)
{
parentGroup.LinkToGroup(child);
child.DetachFromBackup();
parentGroup.LinkToGroup(child);
// this is here so physics gets updated!
// Don't remove! Bad juju! Stay away! or fix physics!
@ -1943,7 +1942,6 @@ namespace OpenSim.Region.Framework.Scenes
*/
parentGroup.AdjustChildPrimPermissions(false);
parentGroup.HasGroupChanged = true;
parentGroup.ProcessBackup(m_parentScene.SimulationDataService, true);
parentGroup.ScheduleGroupForFullAnimUpdate();
Monitor.Exit(m_linkLock);
}