aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2008-07-12 13:42:32 +0000
committerMelanie Thielker2008-07-12 13:42:32 +0000
commit9e20318667b93a485aeb637a60756c0606d2db4c (patch)
treebbb906f61220dff33b8e5ae6847c7b1e1ed3105d /OpenSim
parentUpdate svn properties. (diff)
downloadopensim-SC_OLD-9e20318667b93a485aeb637a60756c0606d2db4c.zip
opensim-SC_OLD-9e20318667b93a485aeb637a60756c0606d2db4c.tar.gz
opensim-SC_OLD-9e20318667b93a485aeb637a60756c0606d2db4c.tar.bz2
opensim-SC_OLD-9e20318667b93a485aeb637a60756c0606d2db4c.tar.xz
Patch #9145 (Mantis #1723)
Allows direct viewing of library scripts from inventory again
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs6
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;