aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorUbitUmarov2017-05-04 12:08:10 +0100
committerUbitUmarov2017-05-04 12:08:10 +0100
commit34028198882be021c49725c342e8d2d494dc7286 (patch)
treedef2c1dbf006e8a37b1d3c17930338909d13860f /OpenSim/Region/CoreModules
parent move deep effective permissions aggregation to first time use and not on cha... (diff)
downloadopensim-SC_OLD-34028198882be021c49725c342e8d2d494dc7286.zip
opensim-SC_OLD-34028198882be021c49725c342e8d2d494dc7286.tar.gz
opensim-SC_OLD-34028198882be021c49725c342e8d2d494dc7286.tar.bz2
opensim-SC_OLD-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/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs2
-rw-r--r--OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
index a7a9d1d..6a8f4c0 100644
--- a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
+++ b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
@@ -146,7 +146,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell
146 child.TriggerScriptChangedEvent(Changed.OWNER); 146 child.TriggerScriptChangedEvent(Changed.OWNER);
147 child.ApplyNextOwnerPermissions(); 147 child.ApplyNextOwnerPermissions();
148 } 148 }
149 group.AggregatePerms(); 149 group.InvalidateDeepEffectivePerms();
150 } 150 }
151 151
152 part.ObjectSaleType = 0; 152 part.ObjectSaleType = 0;
diff --git a/OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs b/OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs
index 167f6b5..4cee7a5 100644
--- a/OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs
+++ b/OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs
@@ -107,7 +107,7 @@ namespace OpenSim.Region.CoreModules.World.Vegetation
107 107
108 sceneObject.SetGroup(groupID, null); 108 sceneObject.SetGroup(groupID, null);
109 m_scene.AddNewSceneObject(sceneObject, true); 109 m_scene.AddNewSceneObject(sceneObject, true);
110 sceneObject.AggregatePerms(); 110 sceneObject.InvalidateDeepEffectivePerms();
111 111
112 return sceneObject; 112 return sceneObject;
113 } 113 }