mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-08 06:01:12 +00:00
The reader kept a brush's art but dropped the colors it read from it, so a spot color that only a Scatter or Art brush's art used made no swatch, and the art's process colors did not count toward the document's color mode. The reader now keeps each brush art section's colors with its art. When the document is finished, the colors of the art that a kept brush uses are added after the rest of the file's, in the order the art was read: its spot colors make swatches and its colors count toward the color mode. Art that no kept brush uses (a pattern brush's tiles, a section that a later one of the same name replaced, a section inside a symbol's definition) brings none of its colors, and a spot color that the page's art, a pattern or a symbol also defines keeps the value defined there. Part of #637.