From 653cc07c45a59e4bae886b74681e3bc65b371994 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sun, 22 Nov 2026 21:55:51 -0800 Subject: [PATCH] Docs: a library swatch named after its pattern takes the pattern's new name A library swatch named after its pattern takes the name the pattern comes in under when that name differs and no library swatch has it, as pattern_swatch_name in crates/engine/src/cmd/swatchlib.rs gives it. --- docs/mcp.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/mcp.md b/docs/mcp.md index 84695c589e..3246a43feb 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -5831,7 +5831,9 @@ same extension and bytes as one there, loads as that User Defined library (categ is refused before it is read. From a document, such as a `.ai` or `.eps` swatch library, it reads the colors, tints, gradients and pattern swatches in the document's order and color groups; `swatch.library.add` brings a pattern swatch's pattern, with its tile and -art, into the document as a pattern swatch under the library swatch's name and in its color group. A global or spot +art, into the document as a pattern swatch under the library swatch's name and in its color group. A library swatch +named after its pattern instead takes the name the pattern comes in under, when the pattern comes in under another name +that no library swatch has and the swatch does not keep a free numbered name as described below. A global or spot color the pattern's art links to keeps the library's color: when the document gives its name another color, it comes in under a numbered name ("Ink 2") and the pattern links to that. That numbered name, and the numbered names of a pattern swatch and of a pattern the art is painted with, skip the names the library gives its other swatches. A swatch