diff options
author | Justin Clark-Casey (justincc) | 2012-02-16 03:37:40 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-16 03:37:40 +0000 |
commit | 912aac34476a3d66c2dfa8d31352d614bd477286 (patch) | |
tree | ea5b7b2995ed24d6f15404e353e42a496da74c8f | |
parent | Fix: Object owned by the group does not return to the last owner http://opens... (diff) | |
download | opensim-SC-912aac34476a3d66c2dfa8d31352d614bd477286.zip opensim-SC-912aac34476a3d66c2dfa8d31352d614bd477286.tar.gz opensim-SC-912aac34476a3d66c2dfa8d31352d614bd477286.tar.bz2 opensim-SC-912aac34476a3d66c2dfa8d31352d614bd477286.tar.xz |
minor formatting changes from last commit (4486n7d)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 5da15ff..d320af4 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -551,15 +551,14 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
551 | // "[INVENTORY ACCESS MODULE]: Target of {0} in CreateItemForObject() is {1} {2}", | 551 | // "[INVENTORY ACCESS MODULE]: Target of {0} in CreateItemForObject() is {1} {2}", |
552 | // action, remoteClient.Name, userID); | 552 | // action, remoteClient.Name, userID); |
553 | } | 553 | } |
554 | else | 554 | else if (so.RootPart.OwnerID == so.RootPart.GroupID) |
555 | if (so.RootPart.OwnerID == so.RootPart.GroupID) | ||
556 | { | 555 | { |
557 | // Group owned objects go to the last owner | 556 | // Group owned objects go to the last owner before the object was transferred. |
558 | userID = so.RootPart.LastOwnerID; | 557 | userID = so.RootPart.LastOwnerID; |
559 | } | 558 | } |
560 | else | 559 | else |
561 | { | 560 | { |
562 | // All returns / deletes go to the object owner | 561 | // Other returns / deletes go to the object owner |
563 | // | 562 | // |
564 | userID = so.RootPart.OwnerID; | 563 | userID = so.RootPart.OwnerID; |
565 | 564 | ||