aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-01-16 19:22:39 +0000
committerUbitUmarov2017-01-16 19:22:39 +0000
commitffa6c7aae2266708884ec16d75d7b8b5bae638e5 (patch)
treec109bdaddb55e65941553562a6e274ce93bd9536 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
parent chance new effective permissions code to ease aggregation on demand( ie on c... (diff)
downloadopensim-SC_OLD-ffa6c7aae2266708884ec16d75d7b8b5bae638e5.zip
opensim-SC_OLD-ffa6c7aae2266708884ec16d75d7b8b5bae638e5.tar.gz
opensim-SC_OLD-ffa6c7aae2266708884ec16d75d7b8b5bae638e5.tar.bz2
opensim-SC_OLD-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.cs3
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 }