diff options
author | UbitUmarov | 2017-05-03 18:11:50 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-03 18:11:50 +0100 |
commit | 4c42716022e2dfcf70e84b05011df6db63bbe221 (patch) | |
tree | 1726bc68b42c98236459e77f30451582a539dfcf /OpenSim | |
parent | change taskInventory copy/move to agents inventory rules (diff) | |
download | opensim-SC_OLD-4c42716022e2dfcf70e84b05011df6db63bbe221.zip opensim-SC_OLD-4c42716022e2dfcf70e84b05011df6db63bbe221.tar.gz opensim-SC_OLD-4c42716022e2dfcf70e84b05011df6db63bbe221.tar.bz2 opensim-SC_OLD-4c42716022e2dfcf70e84b05011df6db63bbe221.tar.xz |
taskitem group owned information was still incorrect
Diffstat (limited to 'OpenSim')
-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 | ||