aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/UserProfileCache.cs
diff options
context:
space:
mode:
authorMW2007-07-26 17:41:31 +0000
committerMW2007-07-26 17:41:31 +0000
commitf0dd115a8c5c44ebde4631df3469c6e39510325f (patch)
tree86d7557112d9e72d9084fc6b5d05cb6da86133a3 /OpenSim/Framework/Communications/Cache/UserProfileCache.cs
parent* Started renaming world to Scene (diff)
downloadopensim-SC_OLD-f0dd115a8c5c44ebde4631df3469c6e39510325f.zip
opensim-SC_OLD-f0dd115a8c5c44ebde4631df3469c6e39510325f.tar.gz
opensim-SC_OLD-f0dd115a8c5c44ebde4631df3469c6e39510325f.tar.bz2
opensim-SC_OLD-f0dd115a8c5c44ebde4631df3469c6e39510325f.tar.xz
More work on inventory and opensim library.
Fixed a number of bugs in the AssetCache related to asset downloading.
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/UserProfileCache.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/UserProfileCache.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCache.cs b/OpenSim/Framework/Communications/Cache/UserProfileCache.cs
index 7b4f6a5..32c5db9 100644
--- a/OpenSim/Framework/Communications/Cache/UserProfileCache.cs
+++ b/OpenSim/Framework/Communications/Cache/UserProfileCache.cs
@@ -116,10 +116,15 @@ namespace OpenSim.Framework.Communications.Caches
116 116
117 public void HandleFecthInventoryDescendents(IClientAPI remoteClient, LLUUID folderID, LLUUID ownerID, bool fetchFolders, bool fetchItems, int sortOrder) 117 public void HandleFecthInventoryDescendents(IClientAPI remoteClient, LLUUID folderID, LLUUID ownerID, bool fetchFolders, bool fetchItems, int sortOrder)
118 { 118 {
119 InventoryFolder fold = null;
119 if (folderID == libraryRoot.folderID ) 120 if (folderID == libraryRoot.folderID )
120 { 121 {
121 remoteClient.SendInventoryFolderDetails(libraryRoot.agentID, libraryRoot.folderID, libraryRoot.RequestListOfItems()); 122 remoteClient.SendInventoryFolderDetails(libraryRoot.agentID, libraryRoot.folderID, libraryRoot.RequestListOfItems());
122 } 123 }
124 else if (( fold = libraryRoot.HasSubFolder(folderID)) != null)
125 {
126 remoteClient.SendInventoryFolderDetails(libraryRoot.agentID, folderID, fold.RequestListOfItems());
127 }
123 else if (this.UserProfiles.ContainsKey(remoteClient.AgentId)) 128 else if (this.UserProfiles.ContainsKey(remoteClient.AgentId))
124 { 129 {
125 CachedUserInfo info = this.UserProfiles[remoteClient.AgentId]; 130 CachedUserInfo info = this.UserProfiles[remoteClient.AgentId];