dont work at copy everyone

master
Christopher 2020-07-13 22:54:27 +02:00
parent cfd94cc0a3
commit 0b4064150c
1 changed files with 4 additions and 1 deletions

View File

@ -135,9 +135,12 @@ namespace OpenSim.Modules.TextureFetcher
if (part.ParentGroup.RootPart.ClickAction == 2) if (part.ParentGroup.RootPart.ClickAction == 2)
return; return;
if ((part.ParentGroup.RootPart.BaseMask & (uint)OpenSim.Framework.PermissionMask.Copy) != 0) if ((part.ParentGroup.RootPart.GetEffectiveObjectFlags() & (uint)PrimFlags.ObjectCopy) != 0)
return; return;
//if ((setPermissionMask & (uint)PermissionMask.Copy) != 0)
//return;
if (inventoryContainsScripts(part.ParentGroup.RootPart)) if (inventoryContainsScripts(part.ParentGroup.RootPart))
return; return;