diff options
author | PixelTomsen | 2012-02-16 00:07:12 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-16 03:35:18 +0000 |
commit | 4486b7d8e8aaa7f98e0003ce06fc0e145903f6b9 (patch) | |
tree | a3b4bd82fab68fcd635f415b8b395663fc10e897 /OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |
parent | Turn off logging on test in last commit (2b84295). (diff) | |
download | opensim-SC_OLD-4486b7d8e8aaa7f98e0003ce06fc0e145903f6b9.zip opensim-SC_OLD-4486b7d8e8aaa7f98e0003ce06fc0e145903f6b9.tar.gz opensim-SC_OLD-4486b7d8e8aaa7f98e0003ce06fc0e145903f6b9.tar.bz2 opensim-SC_OLD-4486b7d8e8aaa7f98e0003ce06fc0e145903f6b9.tar.xz |
Fix: Object owned by the group does not return to the last owner http://opensimulator.org/mantis/view.php?id=5404
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 63ba3d3..5da15ff 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -552,6 +552,12 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
552 | // action, remoteClient.Name, userID); | 552 | // action, remoteClient.Name, userID); |
553 | } | 553 | } |
554 | else | 554 | else |
555 | if (so.RootPart.OwnerID == so.RootPart.GroupID) | ||
556 | { | ||
557 | // Group owned objects go to the last owner | ||
558 | userID = so.RootPart.LastOwnerID; | ||
559 | } | ||
560 | else | ||
555 | { | 561 | { |
556 | // All returns / deletes go to the object owner | 562 | // All returns / deletes go to the object owner |
557 | // | 563 | // |