v1.7.0 — Restore brush, before/after compare, Prompt Slots
A photographer's-workflow update: three new editing features plus two accuracy fixes.
New features
🖌 Restore brush (#12)
Toggle Restore ON (the amber button next to Paint Mode) and paint — the region heals back to the session's original base image, instantly. No sampling runs at all: it's a feathered latent blend, so it costs milliseconds. The Lightroom "erase part of an edit" gesture: refine a spacesuit, then brush the face inside the helmet back to the original. Works with clicks, Paint Mode strokes, and Detect masks; Undo/Redo step through restores like any edit. Refine mode only.
⚖ Hold \ for before/after compare
Hold the \ key while hovering the preview to flash the original base image (with a BEFORE badge); release to return to the current state — Lightroom's compare key. Works in any mode, respects your zoom.
🔢 Area Prompt Slots (#12)
Six numbered preset buttons in the Area Prompt header, each holding its own positive + negative text. Preset "detailed face" / "ornate armour" / "lush foliage" once, then just click a number and paint. Saved with the workflow.
Fixes (#28 — thanks @KursatAs)
- Non-square click accuracy: the click radius now uses the geometric mean of the per-axis pixel→latent scales, so the refined region matches the on-screen circle on portrait/landscape images instead of mapping to an ellipse.
- Xtra-Fine VAE ratio: pixel-per-latent ratio now uses
round()instead of floor division, preventing a subtle 1-px seam drift with non-integer-ratio VAEs.
Compatibility
The two new hidden widgets are declared last in the input schema, so existing saved workflows load unchanged.
Full changelog: v1.6.4...v1.7.0