diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 7 |
1 files changed, 6 insertions, 1 deletions
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 | |||
1199 | invString.AddNameValueLine("next_owner_mask", Utils.UIntToHexString(item.NextPermissions)); | 1199 | invString.AddNameValueLine("next_owner_mask", Utils.UIntToHexString(item.NextPermissions)); |
1200 | 1200 | ||
1201 | invString.AddNameValueLine("creator_id", item.CreatorID.ToString()); | 1201 | invString.AddNameValueLine("creator_id", item.CreatorID.ToString()); |
1202 | invString.AddNameValueLine("owner_id", ownerID.ToString()); | ||
1203 | 1202 | ||
1204 | invString.AddNameValueLine("last_owner_id", item.LastOwnerID.ToString()); | 1203 | invString.AddNameValueLine("last_owner_id", item.LastOwnerID.ToString()); |
1205 | 1204 | ||
1206 | invString.AddNameValueLine("group_id",groupID.ToString()); | 1205 | invString.AddNameValueLine("group_id",groupID.ToString()); |
1207 | if(groupID != UUID.Zero && ownerID == groupID) | 1206 | if(groupID != UUID.Zero && ownerID == groupID) |
1207 | { | ||
1208 | invString.AddNameValueLine("owner_id", UUID.Zero.ToString()); | ||
1208 | invString.AddNameValueLine("group_owned","1"); | 1209 | invString.AddNameValueLine("group_owned","1"); |
1210 | } | ||
1209 | else | 1211 | else |
1212 | { | ||
1213 | invString.AddNameValueLine("owner_id", ownerID.ToString()); | ||
1210 | invString.AddNameValueLine("group_owned","0"); | 1214 | invString.AddNameValueLine("group_owned","0"); |
1215 | } | ||
1211 | 1216 | ||
1212 | invString.AddSectionEnd(); | 1217 | invString.AddSectionEnd(); |
1213 | 1218 | ||