mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-23 02:44:24 +01:00
A layer or group whose layer mask, switched on, hides all of it now counts as drawing nothing when the import decides what an adjustment layer changes. A layer with stored pixels is hidden when its mask is 0 over all of them. A group, an adjustment layer and a layer that stores no pixels are hidden only when the mask is 0 everywhere, the value outside it included. - An adjustment layer above such a layer or group in a pass-through group is kept to change what is below the group, instead of merging with pixels that never show. - A shallow knockout hidden by its mask merges nothing, so the adjustment layers kept below it in a pass-through group stay in the group's kept set: an adjustment layer above that group in an outer pass-through group is kept after them, and both change what is below. - A clipping base hidden by its mask draws nothing, its clipped layers included. Each mask is read once for this, only when it can hide all of the layer, and the read is not counted against the import's memory allowance, since the mask is read and counted again where it is drawn. Docs: docs/mcp.md, docs/target-app-parity.md.