Repository navigation
Catchlight v0.4.0
·
190 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
This release fixes animation timing and makes the file reader, the importer and the editor server refuse malformed input instead of hanging or crashing. It includes breaking changes for Rust callers of catchlight-core, catchlight-wgpu, catchlight-bevy and catchlight-extension-animations (see Removed below).
New
- Motion-driven params in the editor. Params that a motion response drives now appear in their own "Driven by motion" group as live readouts, each naming the response that drives it. Pause motion from the dock header to pose them by hand.
- Vertex slots. The editor, CLI and error messages now call a named vertex a "vertex slot", so it is clear what a weld or motion response refers to.
- Bevy scheduling. Order your own systems before the puppet tick with the new
CatchlightSystems::Ticksystem set. - Driver in
param list.catchlight-editor param listshows which motion response drives each param.
Fixed
- Looping clips keep time. Looping animations ran about 12% fast at 60 Hz and froze on their last frame on high-refresh displays. A loop now keeps its exact length at any frame rate.
- Model edits in Bevy. Editing or hot-reloading a model no longer blanks the puppet for a frame, re-uploads every texture, or restarts its animation.
- Large models in the browser editor. Models with more than 2,048 textures failed to sync to the editor tab.
- Malformed
.clmfiles. A crafted file could hang the reader. Slot lists and texture manifests are now checked before any work is done. - Broken imports are refused. An
.inxfile with a malformed mesh array or a ragged binding matrix is now refused with an error that names the bad element. Before, it imported a silently wrong mesh or ran out of memory. - Editor server stability. Oversized preview, spine-fit and mesh generation requests are refused instead of crashing the editor. The server keeps running after a failed connection, and an editor that was killed no longer blocks the next one from starting.
- Safer saves. Models, review threads, saved versions and rendered files are written to a temporary file and moved into place, so a crash or two saves at once can no longer leave a truncated file.
- Render output permissions.
catchlight-cli renderwrote images, videos and manifests readable only by their owner. They now get normal file permissions. - CLI in pipelines.
catchlight-cli ... | headexits quietly with status 141 instead of printing a panic. A second Ctrl-C interrupts a render that is stuck, andposesandextension getrefuse to write over their input model. - Clearer CLI errors. File errors name the file, and
catchlight-editorreports a mistyped argument before it tries to connect. - Renderer robustness. A surface the adapter cannot draw to returns an error instead of panicking, BGRA targets read back with the right colours, and GPU validation errors in the browser are logged instead of freezing the tab.
- Private socket directory. The editor's default socket directory is created private to its user and refused if someone else owns it.
- LivLiv packages under a symlinked folder. Packages inside a symlinked directory (such as
/tmpon macOS) now import.
Removed
- Windowing features in
catchlight-bevy. The crate no longer turns on Bevy'sbevy_window,bevy_winitandx11features. Enable them in your app, asDefaultPluginsusers already do. - Renderer auto-detect constructors.
WgpuRenderer::new_autodetectandPipelines::new_autodetectare gone;newnow picks the right mask path and instancing mode for the device's backend.configure_surfacereturns aResult. - Public keyframe field.
Lane::keyframesis private. Build lanes withLane::new, which keeps keyframes in frame order, and read them withkeyframes(). - Loose helpers in
catchlight-core.target_of,scalar_cells,deform_cellsandmask_mode_nameare now methods on the types they describe.LoadLimitError::resourceis aLoadResourceinstead of a string,Extension::refs_mutreturns a slice, andWeld,WeldPairand theDeformStack::vert_countfield are no longer public. - Rust 2021 builds. All crates now use Rust edition 2024. They are built and tested with Rust 1.98.