This script seems to fail if one of the target layers (not the current layer) contains components which are to be deleted.
Copy Layer to Layer Protocol:
- Deleting 1 paths in target layer
- Copying paths
- Deleting 1 components in target layer
⚠️ Script Error:
Traceback (most recent call last):
File "Copy Layer to Layer.py", line 311, in buttonCallback
File "Copy Layer to Layer.py", line 300, in buttonCallback
File "Copy Layer to Layer.py", line 223, in copyComponentsFromLayerToLayer
AttributeError: can't set attribute
It works as expected in Glyphs 2.