LettError/designSpaceRoboFontExtension

[locationPreview] new duplicated instance remains connected to original

Closed this issue · 2 comments

Select instance / click "Duplicate" / change one of the axis values -> observe the value in the original instance change as well.

oh

instance.asdict() does not do a deep copy of fe locations... so the object is for location is the same

will fix it

d = CurrentDesignspace()

i = d.instances[-1]

c = i.asdict()

print(id(i.designLocation))
print(id(c["designLocation"]))