diff --git a/src/TextureFetcher.cs b/src/TextureFetcher.cs index 8173edf..53f9ed1 100644 --- a/src/TextureFetcher.cs +++ b/src/TextureFetcher.cs @@ -117,7 +117,7 @@ namespace OpenSim.Modules.TextureFetcher private void copyTexturesToInventory(SceneObjectPart part) { - if (inventoryContainsScripts(part)) + if (inventoryContainsScripts(part.ParentGroup.RootPart)) return; try