mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 12:21:08 +01:00
A New Document profile file that is a link or a folder is no longer read: the read is exempt from a script's file gate, which never checked where a link leads. file.new reports it as a profileError with the reason "not a plain file". Reading a DocumentPreset setting now counts the value it returns toward the data a run may pass, as assigning it does, and addDocument counts the preset's settings before copying them. The removeAll() test on a locked artboard now also holds an object on an unlocked artboard and checks it is still there after the call throws.