aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2017-01-22 21:38:59 +0000
committerUbitUmarov2017-01-22 21:38:59 +0000
commitdf035a4022b1a4e7c9d745ee47e87fd62e8987c2 (patch)
tree087db0f3a388f92e7e278cd73083e0c36ed01449
parentshare before groupr roles was a testing elsewhere induced mistake, clean it up (diff)
downloadopensim-SC-df035a4022b1a4e7c9d745ee47e87fd62e8987c2.zip
opensim-SC-df035a4022b1a4e7c9d745ee47e87fd62e8987c2.tar.gz
opensim-SC-df035a4022b1a4e7c9d745ee47e87fd62e8987c2.tar.bz2
opensim-SC-df035a4022b1a4e7c9d745ee47e87fd62e8987c2.tar.xz
don't let part lastowner be the group
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
index 6783ce0..a73906c 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
@@ -1139,8 +1139,8 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
1139 foreach (SceneObjectPart part in so.Parts) 1139 foreach (SceneObjectPart part in so.Parts)
1140 { 1140 {
1141 part.GroupMask = 0; // DO NOT propagate here 1141 part.GroupMask = 0; // DO NOT propagate here
1142 1142 if( part.OwnerID != part.GroupID)
1143 part.LastOwnerID = part.OwnerID; 1143 part.LastOwnerID = part.OwnerID;
1144 part.OwnerID = item.Owner; 1144 part.OwnerID = item.Owner;
1145 part.RezzerID = item.Owner; 1145 part.RezzerID = item.Owner;
1146 part.Inventory.ChangeInventoryOwner(item.Owner); 1146 part.Inventory.ChangeInventoryOwner(item.Owner);