aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-05-04 12:08:10 +0100
committerUbitUmarov2017-05-04 12:08:10 +0100
commit34028198882be021c49725c342e8d2d494dc7286 (patch)
treedef2c1dbf006e8a37b1d3c17930338909d13860f /OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
parent move deep effective permissions aggregation to first time use and not on cha... (diff)
downloadopensim-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 '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs2
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 }