diff options
author | Diva Canto | 2011-05-27 08:19:40 -0700 |
---|---|---|
committer | Diva Canto | 2011-05-27 08:19:40 -0700 |
commit | d60f525baa8697f896b9f756175118828db9ac78 (patch) | |
tree | 7d38e8a8e578f84261ffb42adad7daf09a983ed4 /OpenSim/Region/CoreModules | |
parent | Added a BasicProfilemodule so that the profile-based actions (like give inven... (diff) | |
download | opensim-SC-d60f525baa8697f896b9f756175118828db9ac78.zip opensim-SC-d60f525baa8697f896b9f756175118828db9ac78.tar.gz opensim-SC-d60f525baa8697f896b9f756175118828db9ac78.tar.bz2 opensim-SC-d60f525baa8697f896b9f756175118828db9ac78.tar.xz |
HG inventory transfers over the profile working.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs index eef60a1..698fd56 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs | |||
@@ -217,12 +217,19 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
217 | return; | 217 | return; |
218 | } | 218 | } |
219 | } | 219 | } |
220 | else | 220 | } |
221 | if (sp == null) | ||
222 | { | ||
223 | inventoryURL = UserManagementModule.GetUserServerURL(userID, "InventoryServerURI"); | ||
224 | if (inventoryURL != null && inventoryURL != string.Empty) | ||
221 | { | 225 | { |
222 | inventoryURL = UserManagementModule.GetUserServerURL(userID, "InventoryServerURI"); | ||
223 | inventoryURL = inventoryURL.Trim(new char[] { '/' }); | 226 | inventoryURL = inventoryURL.Trim(new char[] { '/' }); |
227 | m_InventoryURLs.Add(userID, inventoryURL); | ||
228 | m_log.DebugFormat("[HG INVENTORY CONNECTOR]: Added {0} to the cache of inventory URLs", inventoryURL); | ||
224 | } | 229 | } |
230 | |||
225 | } | 231 | } |
232 | |||
226 | } | 233 | } |
227 | } | 234 | } |
228 | 235 | ||