Commit Graph
20420 Commits
Author SHA1 Message Date
dotCooCoo 555b619228 Selection: Cmd Select Behind works on grouped art and line art
A Cmd press with the Selection tool now selects behind on a group that
holds a selected member, as it does on a selected object, so repeated
Cmd-clicks on grouped art reach the object behind the group. A path's
segments no longer keep the press for Direct Selection, so a Cmd-click
on a selected stroke-only path selects behind it. Select Behind needs
another object under the pointer: on a lone object the press is lent.
The bounding box's handles and rotate zones also lend the press.

- A double-click that follows a Cmd-click selecting behind keeps what
  that click selected, without isolating or editing, also when the
  press and the double-click come in one frame. After an edit or a
  selection change, or after a press that drags or is released away
  from where it began, it is an ordinary double-click.
- Whether a press selects behind is kept for the pointer's position
  while the document, the selection, the live inputs and the hit-test
  settings stay as they are, so the cursor, the canvas marks and the
  press do not walk the document again. A layer or group effect that
  draws art widens the area checked; raster effects and color
  adjustments do not.
- The selected blends' spines are built once per check.
- The status bar and the help bar name the tool a press at the pointer
  takes, which is the Selection tool where the press selects behind,
  and they are drawn again when it changes. The canvas drops a hover's
  decision once the tool, the selection or a preference it depends on
  changes.

Docs: docs/mcp.md (pointer_gesture, and Cmd+Alt with Direct
Selection), docs/control-protocol.md, docs/ui-parity.md,
docs/target-app-parity.md.
2026-11-21 18:34:20 -08:00
dotCooCoo 4a6924669e 3D: meshes carry UVs, smooth bevel normals and a part index
Every mesh the 3D effects build now carries texture coordinates for
each corner and a part for each triangle (front, back, side, front
bevel, back bevel, end cap, cut side). Corners shared by two bands of
one bevel take the mean of the bands' normals unless the bevel turns
there by 60 degrees or more or a band lies flat toward the front or
back, and Inflate's puffed front and back keep the surface's own
normals. The vector facets do not change.

- Caps, Rotate's plane and Inflate's front and back map the art's
  bounds; walls and bevels run u along each contour and v from the
  front cap's edge to the back cap's; Revolve's side runs u around the
  sweep and v along the profile.
- OBJ, glTF and USD write every corner's texture coordinates, not only
  those of faces with mapped graphics.
- Mesh::join checks its index offsets, and joining or exporting a mesh
  whose lists do not match or that holds a value that is not a number
  is an error.

Docs: docs/three-d.md (3D meshes), docs/mcp.md, docs/effects-parity.md,
docs/target-app-parity.md.
2026-11-21 18:25:03 -08:00
dotCooCoo abe8b303de Scripts: remove and removeAll keep art on a locked artboard
PageItem.remove() and PageItems.removeAll() checked only whether the
object and its layers and groups were shown and unlocked, then passed the
ids to edit.clear, which deletes named objects without checking artboard
locks. Both now throw "cannot delete objects on a locked artboard" with
the object ids and delete nothing, as art on a locked artboard is not
editable elsewhere in the document.
2026-11-21 18:14:01 -08:00
dotCooCoo e15e3e083d New Document: Columns reads float rows and columns as file.new does
The dialog read artboardLayout's rows and columns as whole numbers only,
so a value stored as a float (4.0 from ui.dialog.set) fell back to the
stored columns while file.new made the grid from it. The dialog now reads
both as file.new does: a number of 1 or more, rounded and kept to the
artboard limit.
2026-11-21 17:35:17 -08:00
dotCooCoo 6404b0cebf Swatch libraries: hold the library's numbered names while a pattern comes in
A color a library pattern's art brings now skips the library's numbered
names while the pattern is imported, instead of being renamed after the
import. The rename also rewrote every other paint in the document linked
to the name the import first gave, such as art still linked to a deleted
"Ink 2", so adding the pattern changed that art. Now the names are held
with placeholder swatches during the import and removed afterwards, and
links that were already in the document stay as they were.

A pattern whose art brings both "Ink" and the library's "Ink 2" keeps the
library's "Ink 2" under its own name when the document gives "Ink"
another color, and the library's "Ink" takes the next free name. A library
pattern with a numbered name, such as "Tiles 2", keeps that name when the
document does not use it.
2026-11-21 17:31:08 -08:00
dotCooCoo abd7b9eb0d Merge main into fix/font-version-rescan-and-steady-gate 2026-11-21 17:23:44 -08:00
dotCooCoo ff26d5e4a3 Swatch libraries: colors a pattern brings skip the library's other names
A global or spot color that a library pattern's art brings under a
numbered name no longer takes a name the library gives another swatch.
Before, adding a pattern whose art uses "Ink" to a document with another
"Ink" brought the color as "Ink 2" even when the library has its own
"Ink 2"; adding that library swatch next then came in as "Ink 2 2". The
brought color now takes the next free name the library does not use
("Ink 3"), and every paint linked to it follows the new name, so adding
the library's "Ink 2" next adds it under its own name and adding both
again adds nothing.

A color the pattern's art brings or takes is the color a library tint
or gradient links to only when it has the library color's paint and its
process, global or spot kind, as for the other lookups in the same add.

The test a_numbered_copy_named_like_another_library_color_is_found now
makes the blue "Ink 2" itself, as an earlier version's pattern add left
it, since a pattern add no longer gives that name.
2026-11-21 15:38:19 -08:00
dotCooCoo 5cb6480258 Scripts: assigning PageItem.selected keeps how the other objects are selected
Setting selected to true or false runs select.add or select.toggle for that one object, so the
other objects keep their direct-selected anchors and segments and the key object. Before, it
replaced the selection with whole objects.
2026-11-21 14:53:28 -08:00
dotCooCoo a543361727 Pen: Alt tapped during a Quick Pen press moves the end on or off the tick at once
A press keeps the pointer and the snapped point for the end of the piece it adds. When Alt
changes the action during the press, the end goes through the protractor's tick again for the
new action, so a continuous arc that snapped to a tick and becomes a sharp-corner arc ends at the
pointer, and a piece that becomes a continuous arc goes onto the tick, without waiting for the
next drag. This also covers a press that has not dragged.
2026-11-21 14:44:18 -08:00
dotCooCoo ac28d0b6ba Pen: Alt tapped during a Quick Pen press moves the end on or off the tick at once
A press keeps the pointer and the snapped point for the end of the piece it adds. When Alt
changes the action during the press, the end goes through the protractor's tick again for the
new action, so a continuous arc that snapped to a tick and becomes a sharp-corner arc ends at the
pointer, and a piece that becomes a continuous arc goes onto the tick, without waiting for the
next drag. This also covers a press that has not dragged.
2026-11-21 14:41:30 -08:00
dotCooCoo ba0441c458 Scripts: addDocument takes only a DocumentPreset and throws when its profile cannot be read
- new DocumentPreset() now makes an object of the DocumentPreset class whose settings the run
  keeps, so addDocument refuses a plain object, one with a typename of DocumentPreset included,
  with a TypeError naming presetSettings.
- When file.new reports a profileError, addDocument throws an error that names the profile and
  the reason, and the document made with the defaults is put back.
- A script's file.new reads the New Document profile file in the app's own profiles folder;
  the automation roots in force still apply. Before, the script's file gate refused the folder,
  so a scripted addDocument never used an edited profile.

Docs: docs/mcp.md.
2026-11-21 14:33:43 -08:00
dotCooCoo 20425b6914 Pen: Quick Pen snaps no first continuous arc to a tick and hides a stale hover
A continuous arc that starts a path has no direction to follow and
sweeps the arc size, as a sharp-corner arc does. Moving its end onto a
protractor tick put the end on a circle the drawn arc does not follow,
so `tick_end` now gives no tick for it.

The hover keeps the snap settings it was made with (`SnapSettings` in
guides/snap.rs: the window, zoom, snapping options, tolerances,
Alignment Guides and construction angles). After one of them changes
under a still pointer, the hover's rubber band, protractor, distance
label and Smart Guides are hidden until the pointer moves, also through
a press, so the preview shows no point that a click would not place.
A press also drops the hover, so after a click puts an arc's end on a
tick no preview runs from that end back to the pointer. While the
pointer hovers, the tool asks the canvas to hover it again when the
view, the document or the selection changes (`wants_rehover`).
2026-11-21 13:55:48 -08:00
dotCooCoo a99702361a Pen: Quick Pen snaps no first continuous arc to a tick and hides a stale hover
A continuous arc that starts a path has no direction to follow and
sweeps the arc size, as a sharp-corner arc does. Moving its end onto a
protractor tick put the end on a circle the drawn arc does not follow,
so `tick_end` now gives no tick for it.

The hover keeps the snap settings it was made with (`SnapSettings` in
guides/snap.rs: the window, zoom, snapping options, tolerances,
Alignment Guides and construction angles). After one of them changes
under a still pointer, the hover's rubber band, protractor, distance
label and Smart Guides are hidden until the pointer moves, also through
a press, so the preview shows no point that a click would not place.
A press also drops the hover, so after a click puts an arc's end on a
tick no preview runs from that end back to the pointer. While the
pointer hovers, the tool asks the canvas to hover it again when the
view, the document or the selection changes (`wants_rehover`).
2026-11-21 13:27:49 -08:00
Terra854 967511a41b Merge VectorCraft SVG cutover into shared dependency alignment 2026-11-22 05:01:23 +08:00
Terra854 fbed4219ae Merge VectorCraft main into shared dependency alignment 2026-11-22 04:43:31 +08:00
Dylan M. Taylor 88f5ece15b svg: cut over CSS transform, CSS string quoting, and symbol unit basis to craft-svg (#9035)
* svg: cut over CSS transform, CSS string quoting, and symbol unit basis to craft-svg (#789)

* build: repin craft-svg to merged craft-libs main (d20a8248)
2026-11-21 15:39:25 -05:00
dotCooCoo f33e0cb16d Scripts: PageItem.remove refuses hidden or locked art as removeAll does
remove() on an object that is hidden or locked, sits in a hidden or locked layer or group, or is a group holding such an object now throws and deletes nothing, the same rule pageItems.removeAll() applies. docs/mcp.md states both rules and that width and height scale along the page's axes.
2026-11-21 12:37:34 -08:00
dotCooCoo fa3c5af490 Docs: when a group's mask, or a clipping base's, hides all of it on PSD import 2026-11-21 12:37:12 -08:00
dotCooCoo 91fd78e27a PSD import: looking for drawn pixels takes nothing from the import's allowance
Checking whether a layer's pixels are all fully transparent no longer counts
its transparency against the memory allowed for the whole import. The layer
is counted where it is drawn, so an import that fits no longer fails because
the check counted the same pixels first.
2026-11-21 12:33:10 -08:00
Dylan M. Taylor 69dc6f3097 eps: delegate AI editing-data lexer to craft_eps::ai_lex (craft-libs#790) (#9037) 2026-11-21 15:24:11 -05:00
dotCooCoo 76aee609f1 Tests: page item width and height setters give the page-aligned size on rotated objects
A rotated rectangle given a width and then a height through the scripting object model reads back the values set, its geometric bounds have that size, and other objects stay as they were. The resize doc comment names the page's axes.
2026-11-21 12:21:32 -08:00
dotCooCooandSofiaAFigueredo dcff4edc3d Selection: Cmd/Ctrl lends Direct Selection until it is released
With the Selection tool chosen, holding Cmd (Ctrl on Windows and Linux)
now lends Direct Selection, or Group Selection when that was chosen
last, for each press; the Selection tool is back on the release. With
Group Selection chosen, Cmd lends the Selection tool, as it already did
with Direct Selection. Selection & Anchor Display > Command Click to
Select Objects Behind keeps a Cmd press on a selected object, away from
its anchors, handles, mesh points and spine, for selecting the object
behind it. A wide stroke's painted area counts as on the object there.

- The double-click or triple-click after Cmd-clicks goes to the tool
  the clicks went to.
- Cmd pressed once a drag is under way lends nothing, and the pointer
  stays the active tool's.
- While Cmd is held, the status bar's Current Tool and the help bar
  name the lent tool, and the canvas shows the lent tool's marks and
  widgets (blend, Shaper, mirror, trace divider and repeat handles) for
  the pointer's position in the same frame.
- The help bar has hints for Group Selection.

The helper that finds a selected object's editable parts under the
pointer follows the one in pull request 6597 by SofiaAFigueredo.

Docs: docs/ui-parity.md, docs/control-protocol.md (ui.pointer).

Co-authored-by: SofiaAFigueredo <223278896+SofiaAFigueredo@users.noreply.github.com>
2026-11-21 11:55:41 -08:00
dotCooCoo 365823add6 PSD import: masks hide layers and groups by the pixels they draw
A layer mask white outside its rectangle now hides a layer when the mask is
0 over every pixel the layer draws, even where the rectangle leaves fully
transparent pixels out. A group's mask is checked the same way against the
pixels of the group's layers, unless the group holds an adjustment layer or
a fill that stores no pixels. A base merged with the layers clipped to it
counts as drawing nothing when its mask hides the base. A check that was
skipped for lack of memory is made again later instead of being kept.
2026-11-21 11:52:13 -08:00
dotCooCoo a8d1b29766 Tests: the script corpus failure test reads an undefined name
Scripts now have an app object, so app.activeDocument no longer throws a
ReferenceError. The test reads a name the host does not define instead.
2026-11-21 11:46:08 -08:00
dotCooCoo 4bc1f7a187 Scripts: Documents.add takes the artboard spacing file.new takes
artboardSpacing is refused above 100,000 points, the limit file.new
applies, so a value file.new would refuse throws a RangeError that names
artboardSpacing.
2026-11-21 11:40:55 -08:00
Terra854 a15879c389 Merge VectorCraft main and align the shared EPS revision 2026-11-22 03:26:04 +08:00
Mex 38bb08a6ef fix(docsetup): preserve custom quotes when language is unchanged 2026-11-21 20:21:46 +01:00
dotCooCoo d2fdc9728a Pen: Quick Pen marks an arc's center with a cross while the arc is drawn
Wherever the Quick Pen tool shows an arc's protractor (while the arc is
dragged, or as the piece the next click adds), it also draws a small cross at
the arc's center, as the circle and three-point arc tools draw theirs. The
cross is VectorCraft's own behavior.

Adds a test for the cross while hovering and dragging.
2026-11-21 11:19:09 -08:00
dotCooCoo 81c7578cf0 Pen: Quick Pen shows a protractor around an arc's center and snaps to its ticks
While an arc is drawn, by a drag or as the piece the next click adds, the
Quick Pen tool shows a protractor around the arc's center: a tick every 15°
from where the arc starts, a longer one every 90°, and one where it ends. The
piece the next click adds shows its protractor only while Enable Rubber Band
for the Pen tool shows that piece.

With Smart Guides on, the end of a continuous arc snaps onto the nearest tick
of its protractor, on the same circle, when the tick lies within the snapping
tolerance of the pointer, no other Smart Guide snaps the point, and neither
Snap to Grid nor Snap to Pixel snaps drawn points. A sharp-corner arc sweeps
its arc size, so its end does not snap. Shift does not constrain Quick Pen
points, so it does not change the snapping. The protractor, its 15° step and
the snapping are VectorCraft's own behavior.

The Smart Guides targets now also report whether a point landed on one of
them (`Targets::snap_hit`), so a target whose label or line is hidden still
takes precedence over a tick.

Adds tests for the arc's circle, the tick snapping by drag and by click and
its precedence, and the protractor during a drag and while hovering. Also adds
tests of existing Quick Pen behavior: a point snapping to a Smart Guide, and
the distance label shown while hovering.
2026-11-21 11:18:45 -08:00
dotCooCoo 4b97cc8492 Scripts: a failed selection restore ends the run unless the command refused
When an edit puts the selection back, the Layers panel target, symbol part,
Objects on Path member, ruler guide and key object commands fall back or
skip only when the command refuses with an ordinary error. An internal
failure or a request to stop now ends the run instead of being treated as
a refusal.
2026-11-21 11:18:44 -08:00
Dylan M. Taylor f72c56711a doc: share PNG pHYs chunk writing via craft-image-codecs (craft-libs#785) (#9033) 2026-11-21 14:16:05 -05:00
dotCooCoo 3b7c10acc4 PSD import: an adjustment layer in a nested group over drawn layers merges applied
A pass-through group's adjustment layers count as kept to change what is
below the outer pass-through group only when nothing below that group in
the outer one draws, as for adjustment layers directly in the outer group.
Before, a layer merged above them for its blend mode merged them applied
but the import counted them as not applied.

docs/mcp.md now says when a layer's mask hides all of it.
2026-11-21 10:56:48 -08:00
Mex aa860cbcfe Cover active rows on stacks of different lengths 2026-11-21 19:55:13 +01:00
Mex c854678963 Track the active object’s landing when moving one appearance row 2026-11-21 19:54:54 +01:00
dotCooCoo 626d843520 Scripts: list the object model in the host name check, refuse zOrder inside a compound path
The host name test now has rows for app, the document model classes and the enumerations the script host adds. zOrder on a path inside a compound path throws an error and leaves the document unchanged, as duplicate does.
2026-11-21 10:34:09 -08:00
Terra854 869105e128 Images: read BMP density through craft-image-codecs (#9028) 2026-11-21 13:28:30 -05:00
dotCooCoo 540711e1a5 PSD import: masks that hide a layer's drawn pixels or a pass-through group hide all of it
A layer's mask now hides all of it when it is 0 over every pixel that isn't
fully transparent, so a shallow knockout whose mask and transparency leave
nothing drawn no longer drops the adjustment layers kept below it.

A pass-through group whose mask hides all of it no longer counts its layers
as drawing, or its adjustment layers as kept, when deciding which adjustment
layers above it change what is below the group.
2026-11-21 10:23:48 -08:00
Terra854 217c80a5f1 deps: align the shared EPS prefix decoders 2026-11-22 02:17:26 +08:00
dotCooCoo a71de2dd7a Swatch libraries: a deleted color a found tint links to keeps its name
A numbered copy of a library tint found in the document now brings
back the deleted global or spot color it links to, as a tint of the
library tint's own name does. A deleted color that the call also picks
is added before the other new swatches, so a pattern added earlier in
the call cannot give its name to another color and leave the found
tint linked to the wrong one.

A picked pattern the document already has is probed once: the probe
gives both its name in the document and the colors its art takes,
instead of a presence check, a second import into a copy and a third
presence check.
2026-11-21 10:16:36 -08:00
Mex 40f4a95eb3 docs: align the download table with published packages 2026-11-21 19:15:53 +01:00
Mex 52ee25405f Cover linked angular vertices and explicit-coordinate validation 2026-11-21 18:53:25 +01:00
Mex 1c3ef4a3af Allow a linked vertex to define an angular dimension 2026-11-21 18:53:08 +01:00
dotCooCoo 6cce980e2b Scripts: keep targets and chosen parts when edits restore the selection
- An edit a script makes puts back a Layers panel target, an object
  chosen inside a dynamic symbol instance and an object chosen in an
  Objects on Path group, each with its own selection command.
- Assigning a document's selection selects a symbol instance or an
  Objects on Path group as a whole when one of its objects was chosen.
- file.newPresets lists a grid by column's rows as set, also when there
  are fewer artboards than rows, and New Document's Columns shows the
  columns those rows give the current number of artboards.
- docs/roadmap.md's M13 row names the script object model that is
  available.
2026-11-21 09:46:14 -08:00
dotCooCoo 79dd33e228 Swatch libraries: a tint whose color was deleted brings it back
A library tint or gradient counts as already in the document only when
each color it links to is there. When the document's tint of that name
links to a color the document no longer has (deleted without unlinking),
the color comes back under its own name and is listed in `added`.

A picked pattern the document already holds keeps the copy of a color
its art takes (a numbered copy the library also names), and the picked
tints and gradients of that color link to it, so adding the pattern and
the tint again adds nothing. Without such a pattern, a numbered copy the
library also names stands for that library swatch alone.

docs/mcp.md also states that a pattern pasted with Merge for some colors
and Add for others is added again as a copy.
2026-11-21 09:30:26 -08:00
ncic 6cd0de02b1 Merge remote-tracking branch 'upstream/main' into pencil-redraw-extend
# Conflicts:
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-21 18:13:24 +01:00
dotCooCoo 9b6519382c PSD import: layers their masks hide draw nothing
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.
2026-11-21 09:12:19 -08:00
dotCooCoo e50cc27abd Tool icons: every tool gets an icon of its own instead of sharing its group's
The nine graph tools showed the same column chart, the eight symbolism tools
the same spray can, and Perspective Selection, Slice Selection, Enclosing
Lasso, Polygonal Lasso, the Corner Tool, Slide Anchor Along Path and Shared
Edge Merge each reused the icon of another tool. The 3D Box Tool asked for an
icon that does not exist and showed the dashed placeholder.

Each of these tools now has an original icon drawn in the dc-* style (24x24,
1.5 stroke, round caps) that shows what the tool does:

- Each graph tool draws its own chart type.
- The symbolism tools show symbols being moved, pulled together, resized,
  turned, tinted, faded or styled.
- The Lasso and Slice tools get dc-* icons too, so the three lasso tools and
  the two slice tools each read as one family. The Enclosing Lasso adds a filled square inside the Lasso's loop,
  and the Polygonal Lasso draws the loop with straight sides and keeps the
  same knot and tail. The Slice and Slice Selection tools both show a dashed
  slice outline with a corner tag, the Slice Tool with a knife beside it and
  Slice Selection with a pointer.
- Perspective Selection shows a smaller perspective grid with a pointer.
- The 3D Box Tool uses the cube icon that the 3D and Materials panel uses.

Each new file has an ASSETS.md row.

every_tool_has_an_icon_no_other_tool_uses checks that every cataloged tool,
the add-ons' included, maps to an existing icon that is not the placeholder
and that no other tool uses.
2026-11-21 08:47:12 -08:00
dotCooCoo f70d2ee7e6 Scripts: duplicate, selection and wrapper fixes for the object model
- duplicate() runs Edit > Duplicate, the place and the selection
  restore under one savepoint, so a refused place leaves the documents,
  the selection and the undo history as they were. It reads the copy's
  id from the command's own result, so ids above 2^53 return the copy.
  A path inside a compound path throws an error instead of copying the
  whole compound path.
- An edit restores a mixed selection (direct-selected anchors and whole
  objects) in its original order with one select.anchorsMany.
- Assigning the selection clears a Layers panel target.
- A call on an inactive document switches back even when the selection
  restore fails.
- documents.add with a grid by column passes the row count to file.new,
  which takes a new artboardLayout.rows key: 5 artboards in 4 rows give
  columns of 4 and 1. A preset keeps the rows until columns without
  rows, or another layout, is given, and New Document drops them when
  Columns or the layout changes.
- A held page item stays the same object when its class changes in the
  same family (a placed image that is embedded becomes a RasterItem).
- A waiting class member's answer is read as a class instance, and a
  class constructor called with new cannot wait.

Docs: docs/mcp.md (DocumentPreset, duplicate, file.new rows), docs/gaps.md
(G6).
2026-11-21 08:43:10 -08:00
dotCooCoo 7f97df87d4 Swatch libraries: library tints link only to a color of their own kind
swatch.library.add linked a library tint to the wrong color in two cases.
When the document had a process color with the same name and paint as the
tint's global color, the global color counted as already present and the
tint linked to the process color. When a tint was added without its global
color and the document had another swatch of that color's name, the tint
linked to that swatch.

- A library color counts as already in the document only when the
  document's color of that name is the same kind: process, global or spot.
  A global color whose name the document gives a process color now comes
  in under a numbered name, and its tints link to that copy.
- A global or spot color that an added tint or gradient links to, and that
  the document does not have, now comes in with the tint or gradient. It
  keeps its own name when that name is free and gets a number otherwise.
  added lists it after the picked swatches.
- A library tint is not the document's tint of the same name and paint
  when the document's swatch of the base's name is another color or kind.
- A tint that a pattern brought is used for a picked library tint only
  when the color it links to is the library color's kind.
2026-11-21 07:54:43 -08:00
dotCooCoo 0d27204944 PSD import: keep clips and merges around adjustments that aren't applied
- An adjustment layer's mask is checked against the memory allowed beside
  the canvases held while it is read (the merged canvas, the base's shape
  and the copies kept for pass-through groups).
- A clipped adjustment layer whose mask is too large to read is left out
  without unclipping the layers clipped above it to the same base.
- An adjustment layer in a pass-through group whose mask is too large to
  read is left out without stopping the merge of the layer above the
  group; its own merge with the layers below it still isn't made.
- A layer whose stored pixels are all transparent draws nothing, so an
  adjustment layer above it in a pass-through group stays kept to change
  what is below the group.
- A layer merged in a pass-through group for its blend mode or its
  knockout takes the adjustment layers kept below it with it, so an
  adjustment layer above that group in an outer pass-through group merges
  with it instead of being dropped.
2026-11-21 06:11:57 -08:00