mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Fix: Object owned by the group does not return to the last owner http://opensimulator.org/mantis/view.php?id=5404
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
1267094a51
commit
4486b7d8e8
@@ -552,6 +552,12 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
|
||||
// action, remoteClient.Name, userID);
|
||||
}
|
||||
else
|
||||
if (so.RootPart.OwnerID == so.RootPart.GroupID)
|
||||
{
|
||||
// Group owned objects go to the last owner
|
||||
userID = so.RootPart.LastOwnerID;
|
||||
}
|
||||
else
|
||||
{
|
||||
// All returns / deletes go to the object owner
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user