A selection that reaches past the canvas kept the centre of its visible
part; it now turns about the centre of the whole selection, while the fill
stays clipped to the canvas. The centre is summed in f64 so a far-off
selection pixel cannot overflow.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Run the existing panic hunt as eight ignored Nextest cases in one test binary, preserving every command and input, the harness self-test, and the 180-second deadline per test process.
Set RAYON_NUM_THREADS=4 for the Linux gate and no-HEIF job. That limits the default global Rayon pool per process; it does not cap total Nextest concurrency or demonstrate that cluster contention or OOMs are fixed.
The eight cases and self-test passed in hosted Ubuntu and Windows on the earlier merge preview and in the scoped current-main Linux validation. The latter used Rayon two.
Fill > Pattern > Script > Symmetry Fill repeats the pattern tile about the
canvas centre (the selection's centre with one) by one of 33 symmetry
types: line and point reflection, 4-fold rotation, translation, glide
reflection, four dilations, the seven frieze groups and the 17 wallpaper
groups. Type 1 matches the measured two mirrored tiles; the factory P6M
fills the area with 6-fold turned and mirrored copies.
The scripted-pattern module gets one render dispatch that edit.fill and
the dialog preview share; the script dialog gets the Symmetry type list
and the translation rows.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A tile that covers a pixel but is transparent there counted toward the
1024-layer cap, so with a mostly clear pattern at the largest overlap the
cap ran out before the tiles that show at that pixel were reached and the
pixel stayed empty. Only visible samples count now; a separate, larger
visit cap keeps the work per pixel bounded. Applies to Brick Fill and
Cross Weave alike.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The .cube parser reads every line and accepts a size keyword after the table rows; is_3d_cube stopped at
the first row and so called such a file not 3D, and Data Order and Table Order skipped it. The scan now
goes on until it finds the keyword, still decoding as it reads without copying the file; a file that names
its size before its rows, as files normally do, still ends the scan there.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Properties panel asks on every draw whether the kept file is a 3D .cube. is_3d_cube decoded the whole
file into a new string for that; it now reads the lines before the first table row, decoding UTF-8 and
UTF-16 as it goes. A file whose size keyword came after its rows does not parse to a table of that size, so
a layer never holds one.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A 1D .cube is read as written whatever the orders say, so the panel offered radios whose change could not
stick. They now show only while the LUT is a 3D .cube (is_3d_cube, now public in the engine).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contents greys History when its source does not match (#17464) or on the
Quick Mask channel, and the fill from surroundings without a selection or on
the channel.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Normal blends linearly, so the fill is turned into density and the channel is
filled as it is, sharing solid tiles. Other modes turn the channel into tone
and back one tile at a time.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The panel lays out as the reference application's: three radio rows with their dropdowns, the Dither
checkbox, and Data Order / Table Order radio pairs while a .cube is the LUT. The layer keeps the orders its
.cube was read in (LutSource), and an edit naming only an order reads the kept file again in the new
orders. The Abstract and Device Link rows ask for an ICC profile and say that applying one is not supported
yet (#14428), or that the file is the wrong kind of profile; the layer keeps its LUT.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Edit > Fill > Pattern > Script > Cross Weave weaves the pattern tile in a
basket weave: square cells of the mean tile side plus Spacing alternate
between a flat and an upright tile like a checkerboard, leaving a 5 x 5
transparent hole at every 35 px grid point for a 40 x 30 tile, each tile
turned half way or not at random (repeatable by seed). edit.fill and the
dialog preview both lay scripts out through one render() in
scripted_pattern.rs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
PhotoCraft left the shared space.pad.dialog token at its default (12 px
Comfortable, 8 px Compact), so title, message and buttons sat right at
the dialog's edge. Set it to 24 and 16 px in the app's size overrides;
only dialogs read this token.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Script option's early remember keeps a Mode the Quick Mask dialog greyed,
as the fill path does.
Co-Authored-By: Claude Opus 5.5 <[email protected]>