mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
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:
@@ -174,7 +174,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Attachments
|
||||
child.TriggerScriptChangedEvent(Changed.OWNER);
|
||||
child.ApplyNextOwnerPermissions();
|
||||
}
|
||||
hostgroup.AggregatePerms();
|
||||
hostgroup.InvalidateEffectivePerms();
|
||||
}
|
||||
|
||||
hostgroup.RootPart.ObjectSaleType = 0;
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user