taskitem group owned information was still incorrect
parent
94bb6d965e
commit
4c42716022
|
@ -1199,15 +1199,20 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
invString.AddNameValueLine("next_owner_mask", Utils.UIntToHexString(item.NextPermissions));
|
invString.AddNameValueLine("next_owner_mask", Utils.UIntToHexString(item.NextPermissions));
|
||||||
|
|
||||||
invString.AddNameValueLine("creator_id", item.CreatorID.ToString());
|
invString.AddNameValueLine("creator_id", item.CreatorID.ToString());
|
||||||
invString.AddNameValueLine("owner_id", ownerID.ToString());
|
|
||||||
|
|
||||||
invString.AddNameValueLine("last_owner_id", item.LastOwnerID.ToString());
|
invString.AddNameValueLine("last_owner_id", item.LastOwnerID.ToString());
|
||||||
|
|
||||||
invString.AddNameValueLine("group_id",groupID.ToString());
|
invString.AddNameValueLine("group_id",groupID.ToString());
|
||||||
if(groupID != UUID.Zero && ownerID == groupID)
|
if(groupID != UUID.Zero && ownerID == groupID)
|
||||||
|
{
|
||||||
|
invString.AddNameValueLine("owner_id", UUID.Zero.ToString());
|
||||||
invString.AddNameValueLine("group_owned","1");
|
invString.AddNameValueLine("group_owned","1");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
invString.AddNameValueLine("owner_id", ownerID.ToString());
|
||||||
invString.AddNameValueLine("group_owned","0");
|
invString.AddNameValueLine("group_owned","0");
|
||||||
|
}
|
||||||
|
|
||||||
invString.AddSectionEnd();
|
invString.AddSectionEnd();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue