mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-22 18:34:42 +01:00
An image changed by Perspective Distort or Free Distort was refused by Relink, Embed and Unembed. Each now keeps the image's corners in one undo step: - Relink puts the new file's pixels between the corners, as Update Links does, whatever `preserve` or the image's Placement Options say. - Embed keeps the file's pixels in the document between the corners, reading the file first when the image shows its saved preview. - Unembed writes the pixels to the file and links the image to it with the same corners. Unembed into a folder keeps the corners too. Relink and Update Links also follow the clipping path a PSD, PSB or DCS file names for a distorted image: the path is drawn through the corners, a clip group of the old file's path takes the new file's, and it becomes a plain group when the new file names none. Unembed of an image from a PSD or PSB file took away the clip group of the file's clipping path, plain images included: the PNG or TIFF it writes keeps the path, but the file was read without it. A PNG or TIFF that keeps the path now comes with it when it is read, so Unembed, and a later Place, Relink or Update Links of the written file, keep the clip group. The params text of Relink, Embed and Unembed, docs/mcp.md and the progress-doc line describe the new behavior.