diff options
author | Melanie Thielker | 2014-10-04 05:10:46 +0200 |
---|---|---|
committer | Melanie Thielker | 2014-10-04 05:10:46 +0200 |
commit | 8918c42540b2e54e6e2092d22da222eb2ba578da (patch) | |
tree | ba3556f0c0d2181d7e341193a8c748ba0ab6a627 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |
parent | Merge branch 'ubitworkmaster' (diff) | |
parent | bug fix: revert back check on creating link (diff) | |
download | opensim-SC-8918c42540b2e54e6e2092d22da222eb2ba578da.zip opensim-SC-8918c42540b2e54e6e2092d22da222eb2ba578da.tar.gz opensim-SC-8918c42540b2e54e6e2092d22da222eb2ba578da.tar.bz2 opensim-SC-8918c42540b2e54e6e2092d22da222eb2ba578da.tar.xz |
Merge branch 'ubitworkmaster'
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 5197f58..0c51f7f 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1023,6 +1023,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1023 | item.BasePermissions = baseMask; | 1023 | item.BasePermissions = baseMask; |
1024 | item.CreationDate = creationDate; | 1024 | item.CreationDate = creationDate; |
1025 | 1025 | ||
1026 | // special AnimationSet case | ||
1027 | if (item.InvType == (int)CustomInventoryType.AnimationSet) | ||
1028 | AnimationSet.enforceItemPermitions(item,true); | ||
1029 | |||
1026 | if (AddInventoryItem(item)) | 1030 | if (AddInventoryItem(item)) |
1027 | { | 1031 | { |
1028 | remoteClient.SendInventoryItemCreateUpdate(item, transationID, callbackID); | 1032 | remoteClient.SendInventoryItemCreateUpdate(item, transationID, callbackID); |
@@ -1063,10 +1067,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1063 | if (!Permissions.CanCreateUserInventory(invType, remoteClient.AgentId)) | 1067 | if (!Permissions.CanCreateUserInventory(invType, remoteClient.AgentId)) |
1064 | return; | 1068 | return; |
1065 | 1069 | ||
1066 | if (type != (sbyte)AssetType.Link || type != (sbyte)AssetType.LinkFolder) | ||
1067 | return; | ||
1068 | |||
1069 | |||
1070 | ScenePresence presence; | 1070 | ScenePresence presence; |
1071 | if (TryGetScenePresence(remoteClient.AgentId, out presence)) | 1071 | if (TryGetScenePresence(remoteClient.AgentId, out presence)) |
1072 | { | 1072 | { |