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

@@ -183,7 +183,7 @@ namespace OpenSim.Region.Framework.Scenes
addFromAllowedDrop = (part.ParentGroup.RootPart.GetEffectiveObjectFlags() & (uint)PrimFlags.AllowInventoryDrop) != 0;
part.Inventory.AddInventoryItem(taskItem, addFromAllowedDrop);
part.ParentGroup.AggregatePerms();
part.ParentGroup.InvalidateEffectivePerms();
return true;
}