-
released this
2026-05-27 06:25:24 +00:00 | 64 commits to main since this releasePre-v1.4.2,
autosplat processopened SuperSplat in the browser with?load=http://127.0.0.1:8765/scene.plybut never actually started a server on port 8765 — SuperSplat tried to fetch, silently failed, and the editor opened blank. Drag-and-drop the file manually was the only workaround. The pattern existed since the earliest CLI but was first surfaced by the real-world v1.4.0 max_strasse rescue run (5 h 36 min total, 490/493 cams = 99.4 %, then SuperSplat opened empty).Fixed
viewer.open_in_viewernow actually serves the PLY. For remote targets (supersplat/playcanvas) the function wrapsserve_directory()around the browser-open and blocks on athreading.Eventthat a SIGINT/SIGTERM handler sets — so the local HTTP server stays up as long as the user wants to look at the splat, then shuts down cleanly when they press Ctrl-C. Console prints the viewer URL + PLY URL upfront so the user knows what's running.
Changed
pipeline.run_pipelineno longer calls the viewer. Blocking inside the pipeline orchestrator would stall the watch-folder daemon between captures and prevent the WebUI's JobRunner from marking jobs done. CLI commands (process,resume,add-video,rescue) now invoke a new_open_viewer_if_configured()helper after their Done summary, so the user sees the result first and then learns the server URL. Daemon and WebUI already had the same broken viewer path — removing it there is a no-op for users (it was never opening anything anyway).
Tests
- 2 new end-to-end viewer tests: one verifies
serve_directoryis actually called insideopen_in_viewer; the other fetches the PLY over HTTP from the running server to prove the bytes are reachable. test_cli_rescuegetstest_rescue_invokes_viewer_after_doneverifying the wiring at the CLI layer.- Removed three obsolete
patch("autosplat.pipeline.viewer_mod.open_in_viewer")intest_pipeline(the attribute no longer exists). - 311 tests passing, ruff clean, mypy clean on viewer.py + pipeline.py.
UX note
autosplat process video.mp4now blocks at the very end with a console message:Viewer: https://playcanvas.com/supersplat/editor?load=… Serving PLY at http://127.0.0.1:8765/scene.ply. Press Ctrl-C when finished to stop the local server.To opt out — e.g. for CI runs or when SuperSplat is started manually — set
[viewer] auto_open = falseor[viewer] target = "none"in the config.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads