Files
Raghav Krishna 184cc1d912 fix(engine): Object Selection finds objects on a transparent layer (#12852)
Object Finder's click sampled the layer composited over 50 % grey, so a fully transparent pixel read as mid grey. A mid-grey object then sat within the growth's colour distance of the empty area, the region reached the canvas edge, and object_in rejected it as background. Red and blue are far from 0.5 grey, which is why only they were found.

Sampler gains rgba_scaled, which keeps alpha at working resolution. object_in reads through it once, never grows into a non-opaque working pixel, and gives transparency hard background in the trimap; a click on a transparent pixel finds nothing. rgb_scaled is untouched, so Quick Selection, Select Subject, sky, focus and the rectangle mode keep their results.

Tests: the issue's 800x600 document and the Grayscale one in a new test file; both fail without the fix.
2026-11-10 17:34:37 +05:30
..
2026-09-30 09:37:18 -04:00