mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-11 13:04:50 +00:00
edit.colorSettings set only the process-wide colour settings, so the RGB and CMYK working spaces, intent and black point compensation went back to the defaults at every start, although the profiles color.loadProfile loads are kept (#2168, #2174). The engine now writes them to a settings file when they change (Session::attach_color_settings), and the desktop app and vectorcraft-cli keep that file as `Color Settings.json` next to the preferences, attached right after the profile store so a saved working space may be a loaded profile. Saved settings that can't be used (a profile that is gone, a damaged or oversized file) leave the defaults with a log record, and the next change writes over them. Nothing is read or written with VECTORCRAFT_NO_PREFS.