Merge branch 'ubitworkmaster'

avinationmerge
Melanie Thielker 2014-10-04 05:10:46 +02:00
commit 8918c42540
1 changed files with 4 additions and 4 deletions

View File

@ -1023,6 +1023,10 @@ namespace OpenSim.Region.Framework.Scenes
item.BasePermissions = baseMask;
item.CreationDate = creationDate;
// special AnimationSet case
if (item.InvType == (int)CustomInventoryType.AnimationSet)
AnimationSet.enforceItemPermitions(item,true);
if (AddInventoryItem(item))
{
remoteClient.SendInventoryItemCreateUpdate(item, transationID, callbackID);
@ -1063,10 +1067,6 @@ namespace OpenSim.Region.Framework.Scenes
if (!Permissions.CanCreateUserInventory(invType, remoteClient.AgentId))
return;
if (type != (sbyte)AssetType.Link || type != (sbyte)AssetType.LinkFolder)
return;
ScenePresence presence;
if (TryGetScenePresence(remoteClient.AgentId, out presence))
{