diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 33f481d..34705db 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1008,21 +1008,17 @@ namespace OpenSim.Region.Environment.Scenes | |||
1008 | /// <param name="localID"></param> | 1008 | /// <param name="localID"></param> |
1009 | public bool GetInventoryFileName(IClientAPI client, uint localID) | 1009 | public bool GetInventoryFileName(IClientAPI client, uint localID) |
1010 | { | 1010 | { |
1011 | // if (localID == m_localID) | 1011 | if (m_inventorySerial > 0) |
1012 | // { | 1012 | { |
1013 | if (m_inventorySerial > 0) | 1013 | client.SendTaskInventory(m_uuid, (short)m_inventorySerial, |
1014 | { | 1014 | Helpers.StringToField(m_inventoryFileName)); |
1015 | client.SendTaskInventory(m_uuid, (short)m_inventorySerial, | 1015 | return true; |
1016 | Helpers.StringToField(m_inventoryFileName)); | 1016 | } |
1017 | return true; | 1017 | else |
1018 | } | 1018 | { |
1019 | else | 1019 | client.SendTaskInventory(m_uuid, 0, new byte[0]); |
1020 | { | 1020 | return false; |
1021 | client.SendTaskInventory(m_uuid, 0, new byte[0]); | 1021 | } |
1022 | return false; | ||
1023 | } | ||
1024 | // } | ||
1025 | return false; | ||
1026 | } | 1022 | } |
1027 | 1023 | ||
1028 | public string RequestInventoryFile(IXfer xferManager) | 1024 | public string RequestInventoryFile(IXfer xferManager) |