Files
vectorcraft/crates/engine
dotCooCoo 6c7fd4490a Scripts: a swatch given its own color back records no step, and a SpotColor without a spot names the rule
- A process swatch that holds an RGB color in a CMYK document (made
  with keepModel, as a color theme's swatches are) records no undo step
  when a script assigns it that color again. swatch.edit keeps a
  swatch's own color as it is, so the assignment changed nothing.
- Assigning a SpotColor whose spot is unset, or one read from a global
  process swatch, throws "SpotColor.spot must be a Spot; a color read
  from a global process swatch cannot be assigned yet". The SpotColor
  page (https://ai-scripting.docsforadobe.dev/jsobjref/SpotColor/)
  requires spot. The path keeps its paint.
- docs/mcp.md now says that a SpotColor cannot be assigned to a
  swatch's or spot's color yet; a path's fillColor and strokeColor take
  one.
2026-11-23 13:00:55 -08:00
..