diff options
author | Justin Clarke Casey | 2008-03-29 22:18:44 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-03-29 22:18:44 +0000 |
commit | 875211b262ecda2eced68b217221dead20cbdb6b (patch) | |
tree | e84ecb6149076e71ce6d9fedeea5f0c49ca46d93 /OpenSim/Framework/Communications/InventoryServiceBase.cs | |
parent | * Updating ODE Libraries to release / dNODEBUG (diff) | |
download | opensim-SC-875211b262ecda2eced68b217221dead20cbdb6b.zip opensim-SC-875211b262ecda2eced68b217221dead20cbdb6b.tar.gz opensim-SC-875211b262ecda2eced68b217221dead20cbdb6b.tar.bz2 opensim-SC-875211b262ecda2eced68b217221dead20cbdb6b.tar.xz |
* Various 1.19.0.5 grid inventory request fixes. These will only take affect once the region and the grid servers have upgraded to this revision
* You may also need to clear your cache before seeing any effect.
* These fixes may or may not affect inventory on the RC client.
* These fixes should make non-root folders work better, stop inventory failure on first login, allow trash to be emptied and make texture picker in object edit view work properly
* Fixes are 1) make initial root folder request wait for async inventory delivery, 2) deliver all folders in the initial login skeleton, not just the root child ones and 3) deal
with situations where we receive child folders from the inventory service before their parent is received.
Diffstat (limited to 'OpenSim/Framework/Communications/InventoryServiceBase.cs')
-rw-r--r-- | OpenSim/Framework/Communications/InventoryServiceBase.cs | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index 6e909da..5515c77 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs | |||
@@ -76,12 +76,27 @@ namespace OpenSim.Framework.Communications | |||
76 | 76 | ||
77 | #region IInventoryServices methods | 77 | #region IInventoryServices methods |
78 | 78 | ||
79 | // See IInventoryServices | 79 | /// <summary> |
80 | /// Guid to UUID wrapper for same name IInventoryServices method | ||
81 | /// </summary> | ||
82 | /// <param name="rawUserID"></param> | ||
83 | /// <returns></returns> | ||
80 | public List<InventoryFolderBase> RequestFirstLevelFolders(Guid rawUserID) | 84 | public List<InventoryFolderBase> RequestFirstLevelFolders(Guid rawUserID) |
81 | { | 85 | { |
82 | LLUUID userID = new LLUUID(rawUserID); | 86 | LLUUID userID = new LLUUID(rawUserID); |
83 | return RequestFirstLevelFolders(userID); | 87 | return RequestFirstLevelFolders(userID); |
84 | } | 88 | } |
89 | |||
90 | /// <summary> | ||
91 | /// Guid to UUID wrapper for same name IInventoryServices method | ||
92 | /// </summary> | ||
93 | /// <param name="rawUserID"></param> | ||
94 | /// <returns></returns> | ||
95 | public List<InventoryFolderBase> GetInventorySkeleton(Guid rawUserID) | ||
96 | { | ||
97 | LLUUID userID = new LLUUID(rawUserID); | ||
98 | return GetInventorySkeleton(userID); | ||
99 | } | ||
85 | 100 | ||
86 | // See IInventoryServices | 101 | // See IInventoryServices |
87 | public List<InventoryFolderBase> RequestFirstLevelFolders(LLUUID userID) | 102 | public List<InventoryFolderBase> RequestFirstLevelFolders(LLUUID userID) |
@@ -112,7 +127,7 @@ namespace OpenSim.Framework.Communications | |||
112 | // See IInventoryServices | 127 | // See IInventoryServices |
113 | public List<InventoryFolderBase> GetInventorySkeleton(LLUUID userId) | 128 | public List<InventoryFolderBase> GetInventorySkeleton(LLUUID userId) |
114 | { | 129 | { |
115 | // m_log.DebugFormat("[AGENT INVENTORY]: Getting inventory skeleton for {0}", userId); | 130 | m_log.DebugFormat("[AGENT INVENTORY]: Getting inventory skeleton for {0}", userId); |
116 | 131 | ||
117 | List<InventoryFolderBase> userFolders = new List<InventoryFolderBase>(); | 132 | List<InventoryFolderBase> userFolders = new List<InventoryFolderBase>(); |
118 | 133 | ||
@@ -173,7 +188,7 @@ namespace OpenSim.Framework.Communications | |||
173 | 188 | ||
174 | if (null != existingRootFolder) | 189 | if (null != existingRootFolder) |
175 | { | 190 | { |
176 | m_log.ErrorFormat("[AGENTINVENTORY]: " + | 191 | m_log.ErrorFormat("[AGENT INVENTORY]: " + |
177 | "Did not create a new inventory for user {0} since they already have " | 192 | "Did not create a new inventory for user {0} since they already have " |
178 | + "a root inventory folder with id {1}", user, existingRootFolder); | 193 | + "a root inventory folder with id {1}", user, existingRootFolder); |
179 | } | 194 | } |