mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 14:17:14 +00:00
links.relink and links.update kept a PSD or PSB file's clip group as it was, so an image relinked to a file with another clipping path, or with none, stayed clipped to the old file's path, and a plain image relinked to a clipped PSD came in unclipped. - The PNG a PSD or PSB file's merged image is kept as now carries the clipping path the file names in a text chunk, and RasterImage.clip holds it with its fill rule (even-odd), as it holds a DCS file's (nonzero). - links.relink and links.update read that path the way they read a DCS file's: the clip group's clipping path becomes the new file's, a file that names none leaves a plain group of the image, and a later file that names one clips it again. A clip group whose path or fill rule was changed in the document stays as a clipping mask around the file's clip group. - docs/mcp.md and the evidence line in docs/target-app-parity.md describe the new behavior.