Skip to content

Universal Inpaint 0.1.2 - SAM3 Undo/Redo Fix

Pre-release
Pre-release

Choose a tag to compare

@jimmorisedu-boop jimmorisedu-boop released this 17 Nov 22:47

Universal Inpaint 0.1.2 fixes a SAM3 undo/redo issue found during real ComfyUI verification. GPL-3.0-only, public alpha.

Undoing or redoing a brush correction now preserves the approved SAM3 seed when the source, seed frame and object rectangle still match. Track video remains available; the completed track still has to be recalculated before H3. Changed or cleared object prompts still require Calculate frame.

Verified in the actual ComfyUI frontend/backend with a real 119-frame 1080x1920 video:

  • SAM3 frame calculation, native tracking of all 119 frames, and a fresh native retrack preserving brush/eraser edits.
  • Optical Flow from hand-painted strokes, two correction/recalculation passes preserving additions and erasures, and an unchanged repeat producing identical preview masks.
  • Brush and eraser alignment after fullscreen at 75% graph zoom, wheel zoom, middle-button pan, three fullscreen cycles, playback and direct frame navigation.

All six CI jobs passed on Windows/Linux with Python 3.10-3.12 and Node 20. No JavaScript errors were recorded. All eight frontend suites and 111 CPU Python tests passed locally; one Torch-dependent test was skipped in that CPU environment. No H3 generation was submitted.

Detailed validation and limits | Russian user guide

After updating, save your workflow, refresh ComfyUI with Ctrl+F5 and reopen the editor. If an old tab has already lost its SAM3 seed readiness, return to the original object rectangle and Calculate frame once.

The attached ZIP contains tracked source and documentation only; private test media are excluded. Verify the archive with SHA256SUMS.txt. Models remain separate downloads under their upstream licenses.