diff options
author | Diva Canto | 2010-01-01 21:12:46 -0800 |
---|---|---|
committer | Diva Canto | 2010-01-01 21:12:46 -0800 |
commit | 8a9677a5319793ff630d0761e204ae8961f375aa (patch) | |
tree | 0b92d2c9258383df59866945ebad7ba8479563d0 /OpenSim/Region/ClientStack | |
parent | Forgotten modules in prior commit. (diff) | |
download | opensim-SC_OLD-8a9677a5319793ff630d0761e204ae8961f375aa.zip opensim-SC_OLD-8a9677a5319793ff630d0761e204ae8961f375aa.tar.gz opensim-SC_OLD-8a9677a5319793ff630d0761e204ae8961f375aa.tar.bz2 opensim-SC_OLD-8a9677a5319793ff630d0761e204ae8961f375aa.tar.xz |
The Library Service is now working. UserProfileCacheService.LibraryRoot is obsolete. Didn't delete it yet to avoid merge conflicts later -- want to stay out of core as much as possible.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 0ec2ed5..25026a6 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -6962,7 +6962,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6962 | assetRequestItem = invService.GetItem(assetRequestItem); | 6962 | assetRequestItem = invService.GetItem(assetRequestItem); |
6963 | if (assetRequestItem == null) | 6963 | if (assetRequestItem == null) |
6964 | { | 6964 | { |
6965 | assetRequestItem = ((Scene)m_scene).CommsManager.UserProfileCacheService.LibraryRoot.FindItem(itemID); | 6965 | ILibraryService lib = m_scene.RequestModuleInterface<ILibraryService>(); |
6966 | if (lib != null) | ||
6967 | assetRequestItem = lib.LibraryRootFolder.FindItem(itemID); | ||
6966 | if (assetRequestItem == null) | 6968 | if (assetRequestItem == null) |
6967 | return true; | 6969 | return true; |
6968 | } | 6970 | } |