diff options
author | Justin Clarke Casey | 2007-12-27 00:53:13 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2007-12-27 00:53:13 +0000 |
commit | 54d9fbc0fe419dfb19da587d7b27d9a152a42946 (patch) | |
tree | f04bbd9eafd2b563d5f24334320c173a3558d109 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |
parent | * Play the 'landing' animation when landing and minimize the collision protec... (diff) | |
download | opensim-SC-54d9fbc0fe419dfb19da587d7b27d9a152a42946.zip opensim-SC-54d9fbc0fe419dfb19da587d7b27d9a152a42946.tar.gz opensim-SC-54d9fbc0fe419dfb19da587d7b27d9a152a42946.tar.bz2 opensim-SC-54d9fbc0fe419dfb19da587d7b27d9a152a42946.tar.xz |
Prim inventory persistence phase 1: Creation of preliminary table in sqlite.
No user functionality yet. This code is not turned on, so there is no possibility
of disruption to existing databases.
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) |