diff options
author | UbitUmarov | 2017-05-04 12:08:10 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-04 12:08:10 +0100 |
commit | 34028198882be021c49725c342e8d2d494dc7286 (patch) | |
tree | def2c1dbf006e8a37b1d3c17930338909d13860f /OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | |
parent | move deep effective permissions aggregation to first time use and not on cha... (diff) | |
download | opensim-SC-34028198882be021c49725c342e8d2d494dc7286.zip opensim-SC-34028198882be021c49725c342e8d2d494dc7286.tar.gz opensim-SC-34028198882be021c49725c342e8d2d494dc7286.tar.bz2 opensim-SC-34028198882be021c49725c342e8d2d494dc7286.tar.xz |
do the same in the cases we are just moving parts around and not changing their caches (ie their taskInventory)
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs index 95a5887..6bb92f4 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | |||
@@ -183,7 +183,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
183 | addFromAllowedDrop = (part.ParentGroup.RootPart.GetEffectiveObjectFlags() & (uint)PrimFlags.AllowInventoryDrop) != 0; | 183 | addFromAllowedDrop = (part.ParentGroup.RootPart.GetEffectiveObjectFlags() & (uint)PrimFlags.AllowInventoryDrop) != 0; |
184 | 184 | ||
185 | part.Inventory.AddInventoryItem(taskItem, addFromAllowedDrop); | 185 | part.Inventory.AddInventoryItem(taskItem, addFromAllowedDrop); |
186 | part.ParentGroup.AggregatePerms(); | 186 | part.ParentGroup.InvalidateEffectivePerms(); |
187 | return true; | 187 | return true; |
188 | 188 | ||
189 | } | 189 | } |