diff options
author | Melanie Thielker | 2008-07-12 13:42:32 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-07-12 13:42:32 +0000 |
commit | 9e20318667b93a485aeb637a60756c0606d2db4c (patch) | |
tree | bbb906f61220dff33b8e5ae6847c7b1e1ed3105d /OpenSim/Region/ClientStack/LindenUDP | |
parent | Update svn properties. (diff) | |
download | opensim-SC-9e20318667b93a485aeb637a60756c0606d2db4c.zip opensim-SC-9e20318667b93a485aeb637a60756c0606d2db4c.tar.gz opensim-SC-9e20318667b93a485aeb637a60756c0606d2db4c.tar.bz2 opensim-SC-9e20318667b93a485aeb637a60756c0606d2db4c.tar.xz |
Patch #9145 (Mantis #1723)
Allows direct viewing of library scripts from inventory again
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 7f95ddd..fa3d9e1 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -5159,7 +5159,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5159 | 5159 | ||
5160 | InventoryItemBase assetRequestItem = userInfo.RootFolder.FindItem(itemID); | 5160 | InventoryItemBase assetRequestItem = userInfo.RootFolder.FindItem(itemID); |
5161 | if(assetRequestItem == null) | 5161 | if(assetRequestItem == null) |
5162 | return; | 5162 | { |
5163 | assetRequestItem = ((Scene)m_scene).CommsManager.UserProfileCacheService.libraryRoot.FindItem(itemID); | ||
5164 | if(assetRequestItem == null) | ||
5165 | return; | ||
5166 | } | ||
5163 | 5167 | ||
5164 | if((assetRequestItem.CurrentPermissions & ((uint)PermissionMask.Modify| (uint)PermissionMask.Copy | (uint)PermissionMask.Transfer)) != ((uint)PermissionMask.Modify| (uint)PermissionMask.Copy | (uint)PermissionMask.Transfer)) | 5168 | if((assetRequestItem.CurrentPermissions & ((uint)PermissionMask.Modify| (uint)PermissionMask.Copy | (uint)PermissionMask.Transfer)) != ((uint)PermissionMask.Modify| (uint)PermissionMask.Copy | (uint)PermissionMask.Transfer)) |
5165 | break; | 5169 | break; |