refuse to do a inventory link if provided asset type is not a link or
folderlinkavinationmerge
parent
d29a04fc20
commit
09e05d48b9
|
@ -1063,6 +1063,10 @@ 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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue