do the same in the cases we are just moving parts around and not changing their caches (ie their taskInventory)

This commit is contained in:
UbitUmarov
2017-05-04 12:08:10 +01:00
parent 3a8dd24fd1
commit 3402819888
12 changed files with 21 additions and 23 deletions

View File

@@ -174,7 +174,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Attachments
child.TriggerScriptChangedEvent(Changed.OWNER);
child.ApplyNextOwnerPermissions();
}
hostgroup.AggregatePerms();
hostgroup.InvalidateEffectivePerms();
}
hostgroup.RootPart.ObjectSaleType = 0;

View File

@@ -665,7 +665,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore
taskItem.AssetID = asset.FullID;
host.Inventory.AddInventoryItem(taskItem, false);
host.ParentGroup.AggregatePerms();
host.ParentGroup.InvalidateEffectivePerms();
m_comms.DispatchReply(scriptID,1,assetID.ToString(),reqID.ToString());
}

View File

@@ -525,7 +525,7 @@ namespace OpenSim.Region.OptionalModules.World.TreePopulator
sceneObject.SetGroup(groupID, null);
m_scene.AddNewSceneObject(sceneObject, true);
sceneObject.AggregatePerms();
sceneObject.InvalidateEffectivePerms();
return sceneObject;
}