mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 19:51:26 -05:00
e152973836
The Export for Screens dialog and the Asset Export panel open remembered settings and presets without the row and settings keys the export no longer reads, and without settings for a format it doesn't write, so their export and Save Preset are not refused. A format row and a format's settings take `params`, an exporter plug-in's own, and `security.passwordRequired`, which remembered settings hold where PDF passwords were left out, and `settings` takes an exporter plug-in's format, as before the key check. assets.export and assets.settings.set check the rows and settings they are given as document.exportForScreens does. An unknown top-level key of document.exportForScreens gets the command's usual "the command takes" error. The MCP save and Export for Screens calls no longer check the params themselves: Session::execute checks them before anything runs.