diff options
author | UbitUmarov | 2017-01-16 19:22:39 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-16 19:22:39 +0000 |
commit | ffa6c7aae2266708884ec16d75d7b8b5bae638e5 (patch) | |
tree | c109bdaddb55e65941553562a6e274ce93bd9536 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |
parent | chance new effective permissions code to ease aggregation on demand( ie on c... (diff) | |
download | opensim-SC-ffa6c7aae2266708884ec16d75d7b8b5bae638e5.zip opensim-SC-ffa6c7aae2266708884ec16d75d7b8b5bae638e5.tar.gz opensim-SC-ffa6c7aae2266708884ec16d75d7b8b5bae638e5.tar.bz2 opensim-SC-ffa6c7aae2266708884ec16d75d7b8b5bae638e5.tar.xz |
avoid lastOwner beeing the group
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index a55936f..4dd8eb1 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -965,7 +965,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
965 | { | 965 | { |
966 | if ((part.OwnerID != item.OwnerID) || (item.CurrentPermissions & (uint)PermissionMask.Slam) != 0 || (item.Flags & (uint)InventoryItemFlags.ObjectSlamPerm) != 0) | 966 | if ((part.OwnerID != item.OwnerID) || (item.CurrentPermissions & (uint)PermissionMask.Slam) != 0 || (item.Flags & (uint)InventoryItemFlags.ObjectSlamPerm) != 0) |
967 | { | 967 | { |
968 | part.LastOwnerID = part.OwnerID; | 968 | if(part.GroupID != part.OwnerID) |
969 | part.LastOwnerID = part.OwnerID; | ||
969 | part.OwnerID = item.OwnerID; | 970 | part.OwnerID = item.OwnerID; |
970 | part.Inventory.ChangeInventoryOwner(item.OwnerID); | 971 | part.Inventory.ChangeInventoryOwner(item.OwnerID); |
971 | } | 972 | } |