From 4c42716022e2dfcf70e84b05011df6db63bbe221 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 3 May 2017 18:11:50 +0100 Subject: taskitem group owned information was still incorrect --- OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Framework/Scenes') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 3ed37a2..1db6880 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs @@ -1199,15 +1199,20 @@ namespace OpenSim.Region.Framework.Scenes invString.AddNameValueLine("next_owner_mask", Utils.UIntToHexString(item.NextPermissions)); invString.AddNameValueLine("creator_id", item.CreatorID.ToString()); - invString.AddNameValueLine("owner_id", ownerID.ToString()); invString.AddNameValueLine("last_owner_id", item.LastOwnerID.ToString()); invString.AddNameValueLine("group_id",groupID.ToString()); if(groupID != UUID.Zero && ownerID == groupID) + { + invString.AddNameValueLine("owner_id", UUID.Zero.ToString()); invString.AddNameValueLine("group_owned","1"); + } else + { + invString.AddNameValueLine("owner_id", ownerID.ToString()); invString.AddNameValueLine("group_owned","0"); + } invString.AddSectionEnd(); -- cgit v1.1