diff options
* Added prototypical AvatarFactory module interface to load avatar parameters
* Added dump_assets_to_file option to enable asset dumping for debug
* normalized some namespaces
* InventoryFolder renamed to InventoryFolderImpl to
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/CachedUserInfo.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs index b1432ff..92b21a8 100644 --- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs +++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | |||
@@ -27,7 +27,6 @@ | |||
27 | */ | 27 | */ |
28 | using libsecondlife; | 28 | using libsecondlife; |
29 | using OpenSim.Framework.Types; | 29 | using OpenSim.Framework.Types; |
30 | using InventoryFolder=OpenSim.Framework.Communications.Caches.InventoryFolder; | ||
31 | 30 | ||
32 | namespace OpenSim.Framework.Communications.Cache | 31 | namespace OpenSim.Framework.Communications.Cache |
33 | { | 32 | { |
@@ -35,7 +34,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
35 | { | 34 | { |
36 | private readonly CommunicationsManager m_parentCommsManager; | 35 | private readonly CommunicationsManager m_parentCommsManager; |
37 | // Fields | 36 | // Fields |
38 | public InventoryFolder RootFolder = null; | 37 | public InventoryFolderImpl RootFolder = null; |
39 | public UserProfileData UserProfile = null; | 38 | public UserProfileData UserProfile = null; |
40 | 39 | ||
41 | public CachedUserInfo(CommunicationsManager commsManager) | 40 | public CachedUserInfo(CommunicationsManager commsManager) |
@@ -44,7 +43,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
44 | } | 43 | } |
45 | 44 | ||
46 | // Methods | 45 | // Methods |
47 | public void FolderReceive(LLUUID userID, InventoryFolder folderInfo) | 46 | public void FolderReceive(LLUUID userID, InventoryFolderImpl folderInfo) |
48 | { | 47 | { |
49 | if (userID == this.UserProfile.UUID) | 48 | if (userID == this.UserProfile.UUID) |
50 | { | 49 | { |
@@ -61,7 +60,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
61 | } | 60 | } |
62 | else | 61 | else |
63 | { | 62 | { |
64 | InventoryFolder folder = this.RootFolder.HasSubFolder(folderInfo.parentID); | 63 | InventoryFolderImpl folder = this.RootFolder.HasSubFolder(folderInfo.parentID); |
65 | if (folder != null) | 64 | if (folder != null) |
66 | { | 65 | { |
67 | folder.SubFolders.Add(folderInfo.folderID, folderInfo); | 66 | folder.SubFolders.Add(folderInfo.folderID, folderInfo); |
@@ -80,7 +79,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
80 | } | 79 | } |
81 | else | 80 | else |
82 | { | 81 | { |
83 | InventoryFolder folder = this.RootFolder.HasSubFolder(itemInfo.parentFolderID); | 82 | InventoryFolderImpl folder = this.RootFolder.HasSubFolder(itemInfo.parentFolderID); |
84 | if (folder != null) | 83 | if (folder != null) |
85 | { | 84 | { |
86 | folder.Items.Add(itemInfo.inventoryID, itemInfo); | 85 | folder.Items.Add(itemInfo.inventoryID, itemInfo); |