From a34827f9f3bfd48c7b4fd50dad733d56f9212f46 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Fri, 10 May 2024 10:51:14 +0100 Subject: [PATCH] Skip intermediate layers when merging subsets (#942) --- Lib/gftools/subsetmerger.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/gftools/subsetmerger.py b/Lib/gftools/subsetmerger.py index 9f42d7e0..5697411c 100644 --- a/Lib/gftools/subsetmerger.py +++ b/Lib/gftools/subsetmerger.py @@ -106,6 +106,8 @@ def add_subsets(self): for master in ds.sources: newpath = os.path.join(outpath, os.path.basename(master.path)) target_ufo = open_ufo(master.path) + if master.layerName is not None: + continue master.path = newpath