aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 9f99665..87ce0b7 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -2228,7 +2228,11 @@ namespace OpenSim.Region.Framework.Scenes
2228 dupe.LocalId = plocalID; 2228 dupe.LocalId = plocalID;
2229 2229
2230 // This may be wrong... it might have to be applied in SceneObjectGroup to the object that's being duplicated. 2230 // This may be wrong... it might have to be applied in SceneObjectGroup to the object that's being duplicated.
2231 dupe.LastOwnerID = OwnerID; 2231 if(OwnerID != GroupID)
2232 dupe.LastOwnerID = OwnerID;
2233 else
2234 dupe.LastOwnerID = LastOwnerID; // redundant ?
2235
2232 dupe.RezzerID = RezzerID; 2236 dupe.RezzerID = RezzerID;
2233 2237
2234 byte[] extraP = new byte[Shape.ExtraParams.Length]; 2238 byte[] extraP = new byte[Shape.ExtraParams.Length];
@@ -5246,7 +5250,8 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter
5246 5250
5247 //LogPermissions("After ApplyNextOwnerPermissions"); 5251 //LogPermissions("After ApplyNextOwnerPermissions");
5248 5252
5249 LastOwnerID = OwnerID; 5253 if(OwnerID != GroupID)
5254 LastOwnerID = OwnerID;
5250 OwnerID = item.Owner; 5255 OwnerID = item.Owner;
5251 Inventory.ChangeInventoryOwner(item.Owner); 5256 Inventory.ChangeInventoryOwner(item.Owner);
5252 } 5257 }