layer.autoAlignment return wrong bool

I have a file where some components are not auto-aligned, but when I check their state with component.autoAlignment , it returns True . Enabling or disabling alignment fixes component.autoAlignment . Is there a way to resolve this issue?

Because I did a script to check if components alignment are sync accross all masters, and this bug generate wrong output

Thanks for reporting this. I fixed it. Until then, use this

component.isAligned() >= 0
1 Like