mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
A read of a host class on another branch of the same family with the same handle makes a new object instead of switching the held object's class. A class and its ancestors and descendants still share one object, so a placed image read through placedItems and through pageItems is the same object, and each branch's held object keeps its identity on later reads. After p.embed() or links.embed, reading rasterItems or pageItems gives a new RasterItem object, and the PlacedItem object the script held throws Stale page item.