mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-06 05:53:08 -05:00
app.getPresetSettings returned a plain object with a typename of DocumentPreset, which addDocument refuses since it takes only an object of the DocumentPreset class. It now makes a DocumentPreset of the run with the preset's settings, through the same storage new DocumentPreset() uses, so addDocument takes it back and the result counts toward the run's limit of 10,000 DocumentPreset objects. Docs: docs/mcp.md.