Commit Graph
5690 Commits
Author SHA1 Message Date
eb630e222c #4368: Add / Match / Remove Grain gain After Effects' missing controls (#4369)
* #4368: Add / Match / Remove Grain gain After Effects' missing controls

Shared grain groups (crates/effects/src/grain_shared.rs), all functional:
- Application > Channel Balance (9 per-channel shadow/midtone/highlight multipliers)
- Sampling > Source Frame, Noise Sample Points 1-10 (used by Sampling Process "Manual"),
  Match Grain's per-point Intensity 1-10
- Blend with Original: Amount, Combine Match and Mask Using, Blur Matte, Color Matching
  (RGB / Hue / Chroma, tolerance, softness, invert) and Masking Layer (layer, mode, size fit)
Remove Grain: Channel Noise Reduction (R/G/B), Chroma Suppression, Noise Size Bias,
Clean Solid Areas.

New instances follow After Effects' Effect Controls order; saved instances keep their
stored order and get the new controls with defaults that render unchanged (Source Frame
-1 = the frame being rendered for projects saved before it).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: grain sampling review fixes

- Manual Noise Sample Points skip boxes whose surround reaches transparent pixels (the
  automatic rule), and each kept box keeps its own point's Intensity.
- Remove Grain measures a fixed Source Frame that is the current frame before Temporal
  Filtering, as other frames are measured; Source Frame -1 keeps the old measurement.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: Match Grain's historical Masks choice no longer samples the unmasked Source

Historical mask reads aren't available, so layer_sample_frame returns None for
the Masks choice and the caller falls back to the current-frame layer_masks
read. Source and Effects & Masks historical reads are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: Masks at a historical Source Frame; legacy Roto Brush keys with grain above

Match Grain's Masks choice at a historical Source Frame now samples the
layer with its masks as they are at that frame: EffectHost gains
layer_masks_at (default None, the current-frame fallback), and the
renderer's FxHost implements it like layer_masks at another time.

Roto Brush Input Keys saved by 0.24 hash the effects above the brush.
Opening an old project adds the grain effects' 89 new controls and
Manual to Sampling Process, so the legacy text now leaves the added
controls out while they hold the value an old project gets (Source
Frame -1 via legacy_default) and restores Sampling Process's 0.24
options. The ADDED_SINCE_0_24 mechanism is taken as-is from #4374
(with an Added::Legacy variant and a POPUPS_0_24 table added).

Tests: grain_shared historical Masks test, render
layer_masks_at_reads_the_masks_of_that_time, legacy.rs unit tests and
an analysis_signature test on an old project with grain above a frozen
brush (fixture grain-0.24.json written by the pre-#4368 code). That
last test is #[ignore]d: its 0.24 key derivation did not reproduce the
base fixture's key in a local run.

Not compiled locally after the final edits; CI is the check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: un-ignore the grain legacy Roto Brush key test

The test reproduced 0.24's Roto Brush Input Key from the fixture as opened, but the fixture's
3D Camera Tracker (above the brush) holds a stand-in Solve that 0.24 didn't have when it made
the key: the first edit clears it (camera_track::invalidate), and only then does the legacy text
give ROTO_INPUT_0_24. The derivation now adds a render queue item first, as the fixture's own
test does, and the test runs again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-04 10:07:24 +01:00
Bar BorerandClaude Opus 5.5 d46f2083f0 #4368: Immersive Video (VR) effects: add missing After Effects properties (#4370)
* #4368: VR effects: field of view, glitch transform/sub/noise, gradient points 6-8, converter sizing

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: VR effects: address review (partial-FOV gradient points, plane-to-sphere source, work-scale controls, target restriction)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: VR sphere-to-plane: no panic on sub-pixel cube faces or empty images

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: VR effects: empty eyes skip the filter, wrap_pad accepts empty images

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: VR Output Frame Width projects from the source; Fractal Noise generates only the visible crop

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: VR Digital Glitch: scanline spacing in output pixels on a reduced work image

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: VR cube-map input: clamp to the pixel centres inside a face with fractional edges

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: VR review fixes: minification filtering, partial-field scanlines, legacy stereo Plane to Sphere, FOV canvas cap

- VR Converter / Sphere to Plane: when Output Frame Width resizes the frame, the projection
  averages a grid of samples over each output pixel's source footprint (measured from the
  neighbouring pixels' source positions, up to 8 x 8), staying inside the source eye and the
  cube face of the pixel's centre. Unresized conversions are unchanged (and match the GPU).
- VR Digital Glitch: on a reduced work image (narrow field of view) scanlines are drawn
  afterwards at the eye's own resolution, keeping Target Point attenuation, so the default
  spacing of 2 still alternates rows instead of tinting evenly.
- VR Plane to Sphere: a hidden Split Eyes version flag (legacy default off on upgrade, off
  when missing) keeps projects saved before the per-eye placement rendering a stereo frame as
  one sphere on the GPU path; new instances split the eyes. Golden from origin/main 9dcb8871.
- Partial field canvas: the 4x-frame-pixels cap is enforced after rounding to whole pixels and
  the one-pixel minimum (floor: the canvas of a one-pixel eye).

Regression tests: shrinking_output_frame_width_keeps_minification_filtering,
partial_field_scanlines_alternate_at_the_default_spacing,
partial_field_canvas_stays_within_its_pixel_budget,
migrate::legacy_stereo_plane_to_sphere_renders_as_before.

Not compiled locally after the final test tweak; CI is the check. An earlier local run of
the vr:: and migrate:: tests compiled and passed all but one test bound, since narrowed to the
middle of the view. Clippy not run locally.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-12-04 09:23:51 +01:00
Valentin KleinandFredApps 1b66b6082d Center Anchor Point keeps an animated layer in place on every frame (#4400)
* Keep the layer in place when centering an anchor on an animated layer

Center Anchor Point in Layer Content (also Ctrl/Cmd+double-click on the
Pan Behind tool) shifted every Position key by one offset worked out at
the current time. With keyed Anchor Point, Scale, Rotation or (3D)
Orientation that offset is wrong at other frames, so the layer jumped.

The anchor now moves by one layer-space delta at every time: a keyed
Anchor Point has every key moved by it. Position moves by that delta
through the layer's own transform at each time, in its parent's space,
including the source pixel aspect and the Z component of 3D layers.
When Scale and Rotation (and X/Y Rotation and Orientation on 3D layers)
are not keyed, every Position key moves by the same shift as before.
Otherwise Position, combined or separated, is keyed on every comp frame
across the span of those keys and its own. Everything is one undo step.

Refs #3835

* Thin the Position keys Center Anchor Point adds and refuse driven layers

When the Position shift changes over time, Center Anchor Point keyed
Position on every frame of the span. It now drops a frame key when the
straight run between its neighbours (or the held value after a Hold key)
passes within 0.01 px of it and of every frame dropped before it. Every
original Position key, every transform key time and the frames next to
each original Position key stay, so the original key's ease and spatial
handles only shape one-frame segments. Original keys switch to automatic
spatial handles, since manual ones drawn for their old neighbours would
overshoot; keys added after a Hold key hold too.

The shift for a key time is now read at the comp tick that maps back to
that exact layer time, so a Hold key is not read a tick early under a
fractional stretch.

Layers whose Scale, Rotation or Orientation has an expression, or that
auto-orient along their path, are skipped, and the command is an error
when none is left: the shift follows keys only. The Quick Set Anchor
comment now gives its restriction as a choice of scope.

Refs #3835

* Fix a Clippy auto-deref warning in the Center Anchor Point key check

* Center Anchor Point skips layers with a Position or Anchor Point expression and camera-facing 3D layers

---------

Co-authored-by: FredApps <[email protected]>
2026-12-04 07:36:15 +01:00
f1be334ce1 Composition Mini-Flowchart: Tab opens it from the Timeline and viewer, arrows walk the whole chain (continues #1338) (#4347)
* Composition Mini-Flowchart: Tab from the Timeline and viewer, focus navigation with every branch, as in After Effects

From #1338 by Themolx, ported onto the split module layout (#2491):
the Tab claim moved to menus/shortcuts.rs, the command to
menus/frontend.rs, the frame hook to app/frame.rs, and the tests to
tests/it/ (one binary).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Mini-Flowchart: Tab reaches it past the window runtime; pills, edge stubs and the review fixes

On current main the craft-ui window runtime takes a plain Tab for the
whole window (keyboard traversal) before the app sees it, so Tab still
never opened the Mini-Flowchart (#3772). The raw-input hook now holds the
popup's keys back from the runtime and egui when Tab is the
Mini-Flowchart's (or the popup is open), and the frame hands them back
first. Tab stays traversal once Tab or Shift+Tab has moved the keyboard
focus, until the next pointer press.

Look: comps are pills joined by curved links; every outer comp has a
stub at its outer side, an arrow where the chain goes on (click shows
that level) and an end bar where it stops. The link back the way the
focus came is drawn in the accent. Long names end in an ellipsis with
the whole name on hover.

Review points from #1338: only unmodified keys drive the popup (Ctrl,
Alt or Shift with an arrow stay with the shortcuts); closing gives the
keyboard focus back to the widget that had it; Space shows one more
level of every shown comp, then folds them back; nodes and stubs are
named for assistive technology; per-guard tests for the Tab claim.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Mini-Flowchart: the focus alone in the centre column, no animation, 30% smaller

The centre column holds only the focus comp; Up / Down still step to its
siblings, which are drawn only when they are the focus. Moving the focus
redraws the popup around it with no easing. Pills, gaps, stubs, links and
names are about 30% smaller.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Mini-Flowchart: keyboard focus follows the selected comp and stays in view

- The focused comp's pill holds egui's keyboard focus while the popup is
  open (screen readers follow the arrows); the app's shortcuts still run
  (framework::focused_widget leaves the pill out), a dialog opened over the
  popup keeps its own focus, and closing gives the focus back or drops it.
- A new focus or a level shown or hidden scrolls the focused pill into view
  once (Space on a long upstream chain left it past the popup's edge).
- Regression tests for each.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Mini-Flowchart: reveal the focused comp again when a column grows taller

The reveal signature now includes the tallest column, so expanding a branch
into an existing column (more rows, same column count) scrolls the focus back
into view. Manual scrolling still leaves the signature unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Mini-Flowchart: yield the keyboard to modal ScriptUI dialogs and link nodes by parent index

A modal ScriptUI dialog lives in session.script_ui.windows, not app.dialog, so
the flowchart kept requesting focus and taking Tab/arrows/Enter. A shared
modal_open check now suspends key interception and the focus request.

Links no longer search the placed list per node: each node carries its parent's
index, filled once while placing the columns.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Mini-Flowchart: modal framework dialogs also take the keyboard

modal_open now includes DialogHost::shows_modal() on app.framework_dialogs, so
the flowchart's keys (arrows, Enter, Escape, Tab) and focus request stay out of
a modal framework dialog's way.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Mini-Flowchart: modal dialogs keep the keyboard; arrows reach every linked comp

- A modal ScriptUI or framework dialog over the open flowchart: the focused
  pill gives its egui focus up (a focused widget took Enter/Space as a click
  and Tab/arrows moved focus on from it) and the popup is disabled until the
  dialog closes.
- The workspace shortcut dispatcher runs nothing behind a script's modal
  dialog, so Space no longer starts or stops the preview behind it.
- The arrow keys follow the whole nesting, not the drawn columns: Up/Down
  siblings are no longer capped at MINI_MAX_COLUMN and Left/Right pick from
  the focus's full neighbour list. The display stays bounded.
- One validated focus (mini_focus) for the centre pill and for Enter.

The mini-flowchart tests passed locally (19/19) before the final cargo fmt;
not recompiled after it, CI is the check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Themolx <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-04 06:57:48 +01:00
9ba7be61dc Layers: ordered selection for copy, paste and sequencing (#4346)
* Layers: ordered selection for copy, paste and sequencing

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Layers: Shift ranges and marquees select in stack order

Selection order now only follows Ctrl/Cmd-clicks. A Shift-click range and
a layer marquee list their layers top first, whichever way they were made,
as Adobe documents for marquee selections (Quick Offset, #1012) and as the
Quick Offset and timeline selection tests expect.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Layers: keyboard-extended selections stay in stack order

Extend Selection to Next / Previous Layer prepended each new layer, so
selecting L2 and extending down twice gave [L4, L3, L2] and Copy / Paste
reversed the range. Extending is a range gesture like Shift-click: it now
grows the end it steps from (the lowest selected layer going down, the
topmost going up) and puts the new layer next to it, so a range grown from
one layer stays top first. Ctrl/Cmd-click order elsewhere is kept.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-04 06:12:22 +01:00
8b4acc6e4e UI: clicking a checkbox's label toggles it (#4336)
* UI: clicking a checkbox's label toggles it

The AE-look checkboxes sensed clicks only on their 16 px box; the label
painted beside them did nothing. widgets::checkbox_labelled senses the box
plus the painted label's rectangle (no wider), so a click on the label
toggles it and a drag across checkboxes takes in labels too. Callers with
a label beside the box now use it: panel kit (Scopes, Media Browser),
Effect Controls, timeline mask Inverted, header Snapping and Puppet Show,
anim tools, Preview, Paint, Render Queue Notify, Character/Paragraph,
Tracker.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* UI: a pointer click just past a checkbox's label no longer toggles it

egui hands a widget the clicks up to its interaction radius (5 pt)
outside its rectangle, so a press and release 2 pt past a label ended in
drag_toggle's click fallback and toggled the checkbox. The fallback now
takes a pointer click only when the pointer is on the hit area; Space,
Enter and accessibility clicks still toggle. This also applies to the
box-only checkbox, which shares drag_toggle.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* UI: a checkbox label's click area stops at the next widget in its row

A translated label wider than the English one (French "Superposition de la source de clonage :") reached over the Clone Source Overlay opacity field and toggled Show Overlay when the number was clicked. checkbox_labelled_within ends the hit area at the next widget's x and label_painter clips the label there; the Paint, Preview, Tracker, Character, puppet and Render Queue rows with a neighbour to the right use them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* UI: the overlay label's click area also ends at the Difference box

In a narrow Paint panel the Difference box starts left of the 146 pt the Clone Source Overlay label was bounded at, so a press in the overlap toggled Show Overlay. The bound is now the smaller of the two. The translated-label test also presses the Difference box, and a new test does it in narrow French panels (it fails without the change).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* UI: labelled checkboxes tell screen readers their role, name and state

The panel kit checkbox (Video Scopes' Clamp Signal and the other kit panels) and Effect Controls'
checkbox properties (value_toggle) exposed only their hit geometry to AccessKit. They now report
the check box role, the name their label shows, checked/unchecked (following a click in the same
frame) and disabled, through a new widgets::checkbox_semantics (egui WidgetInfo). Unlabelled
checkboxes are unchanged: an empty-named check box fails kittest's accessibility check.

New test checkboxes_expose_role_name_and_state_to_assistive_technology: Clamp Signal and a
Checkbox Control are found by role and name, their state follows a click, and a kit checkbox in a
disabled ui reports disabled.

Run locally before commit: the ui_checkbox_label and ui_accessibility* tests pass (the new test
fails with the two checkbox_semantics calls removed), except
ui_accessibility::every_panel_names_its_input_controls, which fails on this machine with and
without this change (missing glyph U+F03A in the local fonts); clippy -D warnings on
effectcraft-ui-egui is clean. CI is the check for the rest.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-04 06:11:44 +01:00
e2e149ad9f Puppet: press-drag with a pin tool places the pin and drags it (#4337)
* Puppet: press-drag with a pin tool places the pin and drags it

With a Puppet pin tool, a press on the layer's art followed by a drag did
nothing: a pin took a click to place and a second press to move. As in
After Effects, the pin now goes down where the button does and follows the
pointer while it is held. Position and Advanced pins carry the mesh to the
release point, Starch and Overlap pins are placed where the drag ends, and a
Bend pin (no position) stays where it was placed. puppet.addPin takes a
`merge` key so the add and the following puppet.movePin steps are one undo
step. A plain click still just adds a pin.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Puppet: store a drag-placed Starch/Overlap pin's rest like a click

puppet.movePin wrote the raw (deformed-space) point into a Starch or
Overlap pin's rest, while puppet.addPin maps a click back to the rest
mesh. On a deformed mesh a press-drag and a click at the same point
stored different rests. movePin now maps the point through the mesh's
current deformation without the pin itself (puppet::overlay_without),
as addPin does before the pin exists, so a drag, a click and a later
drag of an existing pin all rest under the pointer. Position, Advanced
and Bend pins are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Puppet: decide the pin kind before evaluating a drag's rest mapping

Position, Advanced and Bend pin drags no longer evaluate the deformation just to discard it; only Starch and Overlap pins map through the rest mesh.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Puppet: place a dragged Starch/Overlap pin on the mesh under the release, solve only its mesh

A press-drag that places a Starch or Overlap pin now ends with `puppet.movePin` `place: true`,
which moves the pin into the mesh a click at the release point would choose (the first mesh the
point is on or beside, deformed without the pin), in the gesture's undo step. It used to stay in
the pressed mesh's Deform group, acting on nothing under it.

While dragging, the rest point is mapped through the pin's own mesh only
(`puppet::overlay_of_pin`), not every mesh of the layer, so each pointer move builds and solves
one mesh.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Puppet: a dragged Starch/Overlap pin released on unmeshed art meshes it, as a click does

`puppet.movePin` with `place` now does what a click at the release point does when that point
is on no mesh: on art no mesh covers, it adds a mesh there (with the current mesh options) and
moves the pin onto it, resting at the release point, in the drag's undo step. Where a click
would place nothing (the art is already a mesh's own), the pin keeps its mesh.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Puppet: a Starch/Overlap drag released off the art places it only where a click would

The end of a drag that placed a Starch or Overlap pin now asks the same question a click does
(`puppet_click_layer`, shared by press, click and release): only when a click at the release
point would put a pin on this layer does `puppet.movePin` get `place`. A release on empty canvas
used to mesh the unmeshed art nearest the pointer, which a click there never does; the pin now
stays on its mesh.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Puppet: a Starch/Overlap drag that leaves the mesh its press made removes that mesh

The first Starch or Overlap press on unmeshed art makes a mesh for the new pin.
When the release puts the pin on another mesh (or a new one on another piece),
the press-made mesh was left behind empty: Show Mesh outlined it and the
renderer kept rasterizing it. `puppet.addPin` now reports `newMesh`; the viewer
keeps that mesh in the gesture and passes it to the release's `puppet.movePin`
as `madeMesh`, which removes it in the same edit when the pin was its only pin
and the placement is elsewhere. Meshes that existed before the gesture,
including empty ones, are never removed. Undo stays one step.

Test: puppet_starch_drag_off_unmeshed_art_leaves_no_mesh_behind (two islands:
release piece meshed; no Puppet effect at all; a pre-existing empty mesh that
must stay). The puppet viewer tests were built and run locally (15 pass; the new
test fails with the fix disabled). Clippy and the engine test suite were not
run locally; CI is the check for those.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-04 06:11:19 +01:00
Valentin Klein 081ecfcd92 Audio Levels start with both channels linked, as in After Effects (#4390)
* Audio Levels channels start linked, as in After Effects

Editing one Audio Levels channel now moves the other by the same dB change
unless the chain link is clicked off. The link is UI state keyed by property
uid: Audio Levels use the same "on by default" side as Scale and Mask Feather,
where only a click is recorded in the unlinked set, so layers, imports,
precomps and duplicates all start linked and a saved state without the entry
reads as linked (#4077).

* Audio panel: a typed linked level on expression-driven levels moves the other channel by the same stored change

* Timeline: a typed linked Audio Levels value moves the other channel by the same stored change on expression-driven levels
2026-12-04 05:36:13 +01:00
Valentin Klein 7e22b1abbd AEP export: After Effects can save a project with solid and null layers again (#4389)
* AEP export writes the Solid options chunk with version 9 and its size

The opti chunk of every exported solid (a solid layer's and the hidden solid of a null layer) started with "Soli" and zeros. After Effects writes version 9 and the chunk size 282 there and crashes when it saves a project where they are zero. Fixes #4130.

* Fix the borrow of the exported bytes in the Solid options test
2026-12-04 05:35:18 +01:00
Bar BorerandClaude Opus 5.5 ed525612b7 #4368: add missing properties of the smaller effects (#4374)
* #4368: add the missing properties of the smaller effects

Adds the After Effects properties missing from Paint Beads, Sphere Wrap, Card Wipe,
Warp Stabilizer, Cylinder Wrap, Vector Blur, Light Rays, Page Curl, Plastic Shading, Radio
Waves, Slant and Block Reveal, Bulge, Color Neutralizer, Convolution Kernel, Cross Blur,
Directional Smear, Dual Lens Warp, Edge Tile Repeat, Environment Map, Hexagonal Tiles,
Kaleidoscope, OCIO CDL Transform, Organic Displacement, Paint Bucket, Radial Blur, Radial
Light Burst, Refine Soft Matte, Source Composite, Strobe Light, Surface Spotlight, Temporal
Motion Blur, Turbulent Displace, Two-Point Bend and Wave Warp. New properties sit in After
Effects order and drive the render; defaults reproduce the previous output and old projects
load unchanged (Card Wipe's new Y/Z jitter speeds start from the old single speed). GPU paths
fall back to the CPU when a new control is active.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: review fixes (identity pixels at High antialiasing, light normalisation, 100% blend)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: fix the deferred review findings (Page Curl, Edge Tile, Plastic, Chatter Reduction, Hexagonal Tiles, Warp Stabilizer)

- Page Curl: the corner drag places the fold so the corner lands on Fold Position for any curl radius; an unmoved corner shows no Back Page; the GPU path falls back to the CPU for corner drags and Back Page layers.
- Edge Tile: Repeat Blend Borders blends with what the neighbouring tile shows, flip included.
- Plastic Shading: Ambient Light Color tints only the ambient term, lit with the light colour, and nothing without ambient light.
- Refine Soft Matte: Chatter Reduction rejects outer frames where the matte moves.
- Hexagonal Tiles: Lock Center Tile keeps the grid centred on the layer while Center moves the picture.
- Warp Stabilizer: the Target Layer is fitted over the whole frame, not this layer's buffer bounds.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: legacy Roto Brush keys leave out the parameters added since 0.24

Roto Brush keys saved by 0.22-0.24 hash the Debug text of every effect above the brush. The
new properties of #4368 (Warp Stabilizer's Advanced options among them) are added when such
a project opens, so the legacy key no longer matched and the saved analysis was dropped
(tests::analysis_signature). The legacy text now leaves out each parameter added since 0.24
while it still holds the value an old project gets (its default, or for Card Wipe's split
jitter speeds the single speed), along with a layer parameter's source choice and groups of
only new parameters.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: review fixes (Curve Size, Paint Beads light and GPU fallback, Radial Blur seed, pinned High antialiasing, Card Wipe keys, ambient tint, target Source)

- Radio Waves: Curve Size subdivides its own interval, so small sizes draw their own curve.
- Paint Beads: point-light height follows the layer size, not a padded buffer; the GPU path
  hands non-default Wobble, Light and Shading to the CPU.
- Radial Blur: seeded Zoom jitter is half a real ladder step and never crosses the centre.
- High antialiasing keeps pixels the warp leaves in place at their centre (pinned edges).
- Card Wipe migration copies an animated shared jitter speed (keyframes, expression); the
  legacy Roto Brush key compares the copy in full.
- Plastic Shading: the Ambient Light Color clamp limits only the tint's change.
- Warp Stabilizer: the Target Layer honours its Source choice.
- tests_4368: an unknown parameter fails the test instead of passing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: Plastic Ambient Light Color scales with the light intensity

At Light Intensity 0 the surface is unlit (the layer as it is), so the ambient tint is scaled
by the intensity as the light colour is: a black Ambient Light Color no longer turns it black.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #4368: Two-Point Bend Preserve Length renders on the CPU

The GPU kernel draws only the Normal arc mapping; Distort = Preserve Length is listed in the
catalog's CPU-only controls so the effect falls back to the CPU (Normal stays on the GPU).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
v0.26.0-nightly.20261204.47248409534.1.ged525612b7e0
2026-12-03 15:39:48 +01:00
FredApps 9dcb887121 Merge pull request #4320 from Elvis33LE/ci/dev-profile-opt-level-0
build: set [profile.dev] opt-level = 0
2026-12-02 19:53:55 +01:00
FredApps 7250c7070e Merge pull request #4341 from Terra854/fix/bend-it-overlap-4333
Two-Point Bend: keep the rigid tail intact past 180 degrees
2026-12-02 19:53:14 +01:00
FredApps f1549f6e5f Merge pull request #4340 from Terra854/fix/page-curl-seam-4332
Page Curl: remove the shading seam between curled and flat page
2026-12-02 19:53:04 +01:00
FredApps 714ef7e3f2 Merge pull request #4350 from Terra854/fix/nested-shape-group-move-4342
Timeline: move Trim Paths into shape groups
2026-12-02 19:52:13 +01:00
FredApps 10b1512c20 Merge pull request #4348 from Terra854/fix/shape-stroke-composite-4317
Shapes: render Stroke Composite within its group
2026-12-02 19:51:43 +01:00
Elvis33LE 0deb812474 build: keep effectcraft-expr and effectcraft-script at opt-level = 1 2026-12-02 09:08:44 +01:00
Terra854 dbdae9e894 fix(timeline): retain resolved same-parent shape drops 2026-12-02 12:35:54 +08:00
Terra854 ace3cbcda2 Timeline: move shape items between Contents groups 2026-12-02 11:47:10 +08:00
Terra854 d460b29f86 Render shape paint Composite within its group 2026-12-02 09:21:21 +08:00
a11548f909 feat(engine): reload external .ecproj edits into the live session (#4170)
* feat(engine): reload external .ecproj edits into the live session

Adds a project-file watcher on a worker thread (size + mtime stamps,
250 ms debounce, 1 s focused / 5 s unfocused) that wakes the UI only when
the open project's file changed. The UI applies the change on its own thread
through the existing file.revert -> replace_project path, so CLI/MCP edits
show in the running window without a restart.

Session.project_stamp is recorded on open/save so the app's own writes do
not reload themselves. A dirty session, active script or render job holds
the change and surfaces a status instead of discarding work; autosave is
paused while a change is pending.

Closes #4168

* fix(engine): close stamp races and correct reload guidance

- record the stamp only when the saved bytes are still on disk, so a
  concurrent external write is not mistaken for our own save
- read the project and its stamp as one observation when opening, retrying
  if the file changes mid-read
- install the watcher baseline with the loaded session stamp under one lock,
  and advance it only after the debounced change is published
- add tests for self-save acknowledgement, dirty guard and autosave pause
- replace the misleading Save-before-Revert status with Save a Copy guidance

Addresses CodeRabbit review on PR #4170

* fix(engine): handle unverified saves and stale reload reports

A save whose post-write byte check fails is marked unverified so the watcher
reports the first stamp of that path as an external edit instead of adopting
it as a baseline. Before reverting, compare the on-disk stamp with the
session stamp so a completed self-save does not discard undo history. Defer
reload while a script is waiting on a file dialog. Drop a failed reload
observation so it is retried only after a new stamp, not every frame.

Addresses the second CodeRabbit review on PR #4170

* fix(engine): require known stamp for reload shortcut and cache disk stamp

The stamp-matching shortcut only applies when the session stamp is known;
an unknown stamp keeps the observation pending. The on-disk stamp is read
once when a watcher observation is taken and carried through deferral,
avoiding file I/O on every frame.

Addresses the final CodeRabbit review on PR #4170

* fix(ui): keep recovery auto-saves while an external edit is pending

Auto-save writes recovery copies to their own files, never the project
file, so pausing it while a reload was pending only removed crash
recovery for unsaved local work. Keep it running, and hold it only when
the recovery target would alias the open project file.

Adds a regression proving the external project and the local recovery
copy both survive, and corrects the spec's wrong premise.

* fix(ui): check the autosave alias only on a due write; test every reload guard

Move the project-alias check into the engine write path
(autosave_tick_guarded) so it runs on the final WritePlan only when
auto-save is enabled and a write is due; idle frames do no file-system
work. Add regressions holding a pending external change for an active
script render, an open script file dialog and an active render job.

* test: add ignored measurement benches for the #4168 budgets

frame_tick_cost_of_project_reload: per-frame A/B of the UI tick with and
without tick_project_reload (p50/p95/p99/max over 100k ticks).
watcher_idle_cpu_and_reload_memory: watcher-only idle CPU (focused and
background), write->detect latency and RSS over 100 external saves.

* fix: rustfmt and strict clippy on the project reload watcher

Rewrite the watcher's recv loop as a while condition (clippy::while_let_loop)
with unchanged behaviour: a wake or a poll timeout runs one check, a dropped
Watcher (channel disconnected) ends the thread. Collapse the pending-change
if into its let chain, keep unwrap() inside test functions only, format both
files, and normalise project_reload.rs to LF like the rest of the tree.

---------

Co-authored-by: matthewdonsemail-lab <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-02 00:55:37 +01:00
NazarandWillPastor 242c47d226 Effect Controls: edit Dropdown Menu Control items (#4242)
* Effect Controls: edit Dropdown Menu Control items (#3645)

* Keep text undo with its dropdown item after reordering (#3645)

* fix(ui-egui): name Dropdown editor row actions by item

The string-list editor's up/down/remove buttons exposed only their glyphs
(↑ ↓ −) as AccessKit names, so a screen reader announced identical actions
on every row. Name them "<glyph> <action>, item N" (glyph first, translated)
and name each text field "Item N".

Adds a headless test that reads the accessibility tree with two items.

* test(ui-egui): install the headless runtime in the Dropdown editor tests

main now requires the runtime plugin in every test harness (e34fc9ec), so
the three Dropdown editor tests failed while building the app, before any
assertion ran. Install it the way the other Effect Controls tests do. The
assertions are unchanged.

---------

Co-authored-by: WillPastor <[email protected]>
2026-12-02 00:41:34 +01:00
Valentin Klein d009aff46c Move craft-exr to craft-libs main 241ed3863 for the EXR writer (#4193) 2026-12-02 00:41:09 +01:00
Tareq Halaby 69fde80f69 refactor(i18n): prepare Arabic (ar) wiring, RTL layout, and catalog gating (#4149)
* feat(i18n): add Arabic (ar) UI localization and RTL support

* fix(i18n): correct hideOthers label and avoid auto-selecting Arabic without bundled font

* fix(i18n): allow explicit requested ?lang=ar while preserving auto-selection exclusion

* refactor(i18n): separate catalog to craft-i18n and keep RTL wiring in app

* fix(i18n): gate native Arabic on catalog loading and fallback Web stored preference

- Gate native Arabic availability in Settings and language() on loading the catalog
- Keep Arabic out of the Web picker and fall back stored 'ar' preferences to English on Web
- Add tests verifying the Web preference fallback and real Arabic translation on native

* fix(i18n): remove literal Arabic Services label (AGENTS.md §16) and isolate test fixture

* test(i18n): require catalogs for all shipped languages (AGENTS.md §31)
2026-12-02 00:40:45 +01:00
Terra854 351b0b4a20 Two-Point Bend: keep the overlapping rigid end intact 2026-12-02 01:37:50 +08:00
Terra854 a3f5ed3b52 Page Curl: join curved and flat back shading smoothly 2026-12-02 01:08:29 +08:00
Elvis33LE 025fca6b47 build: set [profile.dev] opt-level = 0 2026-12-01 12:54:16 +01:00
Valentin KleinandFredApps d4b2392f40 Render log says why a job renders on the CPU and names the GPU adapter (#3732)
* Render log: say why a GPU project renders on the CPU, and name the GPU adapter (#3727)

* WebM: the header, the size patch and delivering the file count as writing time; last_timing says whose it is (#3732 review)

* Export timing: label the initial compositor and attached GPU adapter, count frames that fell back to the CPU later

The timing line says "Initial compositor" and "attached GPU adapter" for the choice made at the
start. A frame asked of the GPU that ends with the GPU unavailable is counted in the new
gpu_fallback_frames, and the line reports it as "Later GPU fallback: N of M frames rendered on
the CPU after the GPU became unavailable". New test:
a_gpu_lost_after_the_start_is_reported_apart_from_the_initial_choice.

* Export timing: frames the probe drops do not count as a later GPU fallback

A device lost while Auto measures makes the job pick the CPU and drop the GPU's measured
frames, so only frames of a job that chose the GPU are counted.

* Export timing: count a GPU fallback when the frame is rendered, not from the adapter afterwards

The renderer now notes per frame whether the accelerator declined it while unavailable
(Renderer::comp_frame_noting_gpu_loss, passes::comp_frame_noting_gpu_loss), and the export
counts that. A frame the GPU rendered no longer counts when another frame in flight loses the
device before it is counted. The test renders two frames at once: frame 0 on the GPU while
frame 1 loses the device.

* Deferred readbacks: a frame that goes to the CPU after missed passes says whether the device was lost

in_passes records why it renders the frame without the accelerator (Passed::gpu_lost: the
device is no longer available, not passes run out on a healthy one), and
passes::comp_frame_noting_gpu_loss passes that on instead of dropping it with .value. New test:
a_deferred_frame_on_the_cpu_says_whether_the_device_was_lost.

---------

Co-authored-by: FredApps <[email protected]>
2026-12-01 11:33:14 +01:00
Bar BorerandClaude Opus 5.5 f870db660b Text: Character and Paragraph changes reach all selected text layers (#2890)
* Text: Character and Paragraph changes reach all selected text layers (#2862)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Text: `layer.setText` reaches several layers through `selected` alone (#2862)

Drops the `layers` param, its docs/agents.md note and the tests that covered
only it or the merge key. The panels' behaviour is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Text: the layer-wide stroke order leaves a locked shown layer alone (#2862)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Text: `selected` with no layer to change is a no-op, and a per-character order resets them all (#2862)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Text: the panels show the first unlocked selected layer, not a locked one above it (#2862)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Properties: text rows change the edited layer's characters when another layer is first selected (#2862)

While a text layer was edited in the viewer and another layer was first in
the selection, the Properties text and paragraph rows dropped the edit's
range and changed the first layer's whole text instead. They now follow the
edited characters, as the Character panel does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #2862: the text eyedropper writes to the layers that armed it

A whole-layer Fill or Stroke pick sent `selected: true` when it sampled, so
it reached the selection at the click, not the layers selected when it was
armed: with A+B armed and the selection changed to A+C, C took the colour.
The pick now captures the selected text layers when armed, and the viewer
sends them as `layer.setText {layers}`, skipping any that were deleted and
cancelling when none is left. `layer.setText` takes an explicit `layers`
list: the unlocked text layers in it change, whatever is selected.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #2862: the new text tests install the headless runtime like main's harnesses

Main's craft-libs runtime now refuses frames from a harness without its plugin (e34fc9ec), so the eight new Character tests build their harness with `framework::install_headless` too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #2862: layer.setText refuses an explicit target it can't honour

A `layers` value that isn't a list, or a list given with a `range`, fell through to the layer and selection path and could edit a layer the caller didn't name. Both are now an error before anything changes. Without `layers`, the named layer (or the selection with `selected`) is still the default.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-12-01 11:30:26 +01:00
b325b99f0f Puppet: a mesh that spreads a pin's pull and keeps its area (#2866) (#3066)
* Puppet: a mesh that spreads a pin's pull and keeps its area (#2866)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Puppet: adding a pin and solving agree on what the pin holds (#2866)

`puppet.addPin` chose a new pin's position by whether the click was on the deformed mesh, while the solve
chooses what the pin holds by whether its rest point is on the rest mesh. On a turned mesh a click just
off the outline unmaps to a rest point on the mesh: the pin held that point, but at the click, which
pulled the mesh over (6 px at a third of a turn).

Both now use `puppet::held_point`, and a pin that holds a point goes where that point is now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Tests: the off-mesh pin test checks a pin was added (#2866)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Puppet: a solve that fits a frame, shared by drawing and the overlay (#2866)

The solve was redone for the overlay after drawing, ran every refinement round however little they
moved, and built a fresh banded factor for each of up to five sets of stiffened weights, with room
for one of 320 MB.

- A round that moves no vertex 1e-4 px ends the refinement. On the far drags, the push, the cross
  and the S curve that changes no vertex by 1e-4 px, at 40 rounds or 200.
- Stiffened weights refactor into the same storage in the same order, and the factor's inner loops
  run over slices (same sums in the same order, so the same numbers).
- The factor is capped at 8 million values (64 MB). The densest mesh the tool builds (a target of
  20,000 triangles) needs 4.7 million; past the cap conjugate gradients solve the same system.
- Drawing and the overlay (`puppet.info`, adding a pin, the Puppet tools) share one cached solve.

On a 1280x720 solid with a far drag: 20,000 triangles 15.3 s to about 2.7 s, 10,000 2.2 s to about
0.8 s; with the pins at rest, 5.4 s to about 1 s.

The module doc now describes point pins.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Tests: pin edge cases, the refinement mapping and smoothing (#2866)

- Mesh Rotation Refinement to rounds: the default (40), 0, negative, past the maximum, NaN and
  infinities.
- A pin on a vertex holds that vertex; one on an edge between two triangles holds the same point
  through either; one off the outline by round-off holds the point on it, and one further off its
  nearest vertex at the same offset; a Bend pin alone keeps its vertex in place.
- Smoothing falls back to the solve when the vertices don't match the mesh or no split is worth it,
  and every small triangle lies in the triangle its `parent` names.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Puppet: the drawing keeps pins on their points and overlapping sheets apart (#2866)

- Smoothing bent the drawn mesh away from the points pins hold inside triangles: on the far drags
  and the S curve the image under a pin landed up to 10 px from it. The vertex gradients the
  smoothing uses now take the least change that puts each held point where the solve did (a few
  sweeps for pins sharing a vertex); edges still depend only on their two vertices, so no cracks.
- A 2x2 sample cell shared by two overlapping sheets coloured all its samples with the first
  sheet's read. A sheet whose source disagrees with the first's by more than 2 px now reads its own
  colour at its own first sample, weighted by its own samples; one sheet's cells read as before.
- The solver comparisons check both solves are the same length and finite before measuring how far
  apart they are (`f64::max` skips a NaN).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Puppet: held pins stay on their points together, and a narrow sheet in a pixel keeps its colour (#2866)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Puppet: the solve follows pins smoothly past what the mesh can give (#2866)

Stiffening triangles from the last solve's shape swung from pass to pass when
pins asked for more than the mesh could give, so half a pixel of drag moved
it hundreds of pixels. The stage is removed; the stress tests' limits are
set to what the solve now gives.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #2866: bound the Puppet solver's pin system and keep saved rigs' look

The drawing's hold on pinned points solved one dense system over every
held pin: n x (n + 2) values and O(n^3) elimination per render, with n
uncapped. Points only meet through shared mesh vertices, so the system
now splits into groups of linked points; a group of up to 128 points is
solved exactly as before, a larger one by 32 passes of cyclic
projection, so memory and work grow linearly with the pin count.

Rigs saved before this change keep their look: a hidden Solver Version
parameter defaults to the current solve for new instances, and
migrate::legacy_default gives instances saved without it the first
solve, which renders through puppet/legacy.rs (main's solve and
drawing, bit-identical on four test rigs). The overlay and addPin's
placement follow the rig's version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-01 11:27:25 +01:00
Valentin Klein c228ce284b Reversed keyframes keep the shape of manually eased curves (#4283)
* Reversed keyframes keep the shape of manually eased value curves

Time-Reverse Keyframes and Paste Reversed Keyframes swapped the ease sides
but kept the signs of numeric component speeds, which are signed value
slopes. Mirror them now, while spatial and Orientation speeds along the
path or arc and progress eases of paths stay positive.

Fixes #4273

* Paste Reversed Keyframes flips ease speeds by the property pasted into

The sign of the speeds was decided by the copied property, so Scale keys
pasted reversed into Position got negated speeds, which run a motion path
backwards. Paste Reversed now swaps the sides and keys.paste flips the
speeds for each property the keys land in: value curves flip, motion paths
and Orientation stay positive.
2026-12-01 11:25:14 +01:00
Bar BorerandClaude Opus 5.5 9f3e8ef810 Shapes: Add Merge Paths merges what's above it and paints the result (#2889)
* Shapes: Add Merge Paths merges what's above it and paints the result (#2175)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Tests: check the fix directly instead of assuming history or the tool's colour

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Shapes: only the Add menu's Merge Paths gets Mode Add and a paint (#2175)

Scripts keep Mode Merge and their own list: `layer.addShapeItem` does what
it did unless the menu passes `paint`, so the public `append` option goes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Shapes: Add Merge Paths' gradient runs across paths with no paint yet (#2175)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Shapes: a Repeater below an added Merge Paths doesn't widen its gradient (#2175)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Shapes: a Stroke among the paths doesn't widen an added Merge Paths' gradient (#2175)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Shapes: Add > Merge Paths gradient ignores an open line apart from the shapes (#2175)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Shapes: format the Merge Paths gradient test (#2175)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #2175: saved projects keep their Merge Paths artwork

The renderer now drops every draw above a Merge Paths, as After Effects
does, so a project saved with painted groups above a Merge Paths and no
paint below it reopened blank (and exported blank).

Merge Paths gets a hidden Keep Group Paint property. New merges have it
off and render the After Effects way. A Merge Paths without it was saved
before this change: opening the project adds it on
(build::upgrade_shape_contents, next to Wiggle Paths' Spatial Phase),
and with it on, or missing, the renderer keeps the pre-#2175 rule
(drop only the paint above the merge in its own group, #1174), so saved
artwork renders as it did, with or without paint below the merge.

Tests: the #1174 pixel assertions come back as a saved-project case in
the render tests (as saved and as opened), and an engine test opens a
project file in the pre-PR shape, renders it, saves and reopens it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-12-01 11:21:08 +01:00
0d33539240 Viewer: Shift on an edge handle keeps the layer's proportions (#2886)
* Viewer: Shift on an edge handle keeps the layer's proportions (#2860)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Tests: check the fix directly instead of assuming history or the tool's colour

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Viewer: one uniform branch in drag_ratio, and trim the Shift edge test (#2860)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Viewer: a Shift-dragged edge on the anchor keeps its scale wherever the press caught it (#2860)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Viewer: a Shift-dragged handle takes no snap that would throw it past the snap distance (#2860)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Viewer: a dragged handle's snap feedback shows only the snap it took (#2860)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Viewer: a Shift-dragged handle's snap feedback marks a point only when both axes land (#2860)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Viewer: a point a Shift-dragged handle reaches on one axis shows as the line it reached (#2860)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #2860: group snap_handle's inputs instead of allowing the lint

The handle geometry (handle, anchor, layer-to-comp matrix, scaled axes,
Shift) moves into a HandleDrag struct, so snap_handle takes four
arguments and no longer needs allow(clippy::too_many_arguments) (rule 13).
No behaviour change; the tests keep their assertions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-01 11:19:34 +01:00
Valentin Klein 1f51eaadc7 Skip muted 3D Orientation keys when rotating a layer (#4279)
* Respect muted keys when evaluating 3D Orientation (#4270)

* Format the automatic Orientation ease fallback
2026-12-01 11:16:55 +01:00
Valentin Klein 5d6d457187 Splice formatted text and its character styles in one edit (#4277) 2026-12-01 11:14:33 +01:00
Valentin Klein 2848c104e3 #4271: Preserve mask curves when a key omits handles (#4278) 2026-12-01 11:11:51 +01:00
Valentin Klein ea81d31bf3 Keyframes: straight linear Position segments skip the arc-length table (#4272) (#4281) 2026-12-01 11:09:22 +01:00
Valentin Klein e093724e7a Gradient opacity stops given in any order in automation JSON now look the same as in ascending order (#4280)
* Gradient stops given out of order in automation JSON sample as if in order

Opacity stops of the plain form, and colour and opacity stops of the typed form, are sorted by position (stably) when coerced, as the plain form's colour stops already were.

* Gradient stops at positions 0 and -0 keep the order they were given in

The stop sort used total_cmp, which puts -0.0 before 0.0 although both are
the same position, so a stable sort reordered such stops. Compare equal
positions as equal, for colour and opacity stops in the plain and typed forms.
2026-12-01 11:00:56 +01:00
NetterSilver 7e8d42c9fe Render Queue: select several items and change them together; Add to Render Queue takes every selected comp (#3953)
* render queue: multi-select items and add several comps at once (#3726)

* render queue: Delete acts on the selection keyboard navigation just moved to

* render queue: install the headless framework in the selection tests

* render queue: Delete and Edit > Clear use the final selection; null items is an error

* render queue test: require every batch output to resolve
2026-12-01 10:55:15 +01:00
Bar BorerandClaude Opus 5.5 672f776f99 Timeline: box selection selects keyframes live while it's dragged (#2858) (#2952)
* Timeline: box selection selects keyframes live while it is dragged (#2858)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Timeline: a Cmd/Ctrl box over keys alone adds to the selection, as Shift does (#2858)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Timeline: a box over keys alone clears the earlier selection first, as main's box does (#2858)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #2858: marquee keeps its live selection in the UI and commits through commands

While a Timeline box is dragged, what it would select is a UI-side preview
(`TimelineState::marquee_preview`) that the rows draw as the selection; the
engine's selection is not written. The release runs main's `layer.select` and
`keys.select`, and Escape or any other end just drops the preview, so the
direct `Before::restore` writes are gone and the command journal replays to
the live selection (AGENTS.md rule 14).

Tests replay the journal on a fresh session after a Shift box that grows and
shrinks, and after a box cancelled with Escape; both fail on the previous
commit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-12-01 10:51:45 +01:00
Dylan M. Taylor 3e98b2377c ci(nightly): enable daily scheduled builds and automatic signer dispatch (#4243) v0.26.0-nightly.20261130.46338349682.1.g3e98b2377c86 2026-11-29 16:16:21 -05:00
Dylan M. Taylor 5ed52a8769 ci(sonarcloud): give each main commit its own concurrency group (#4269) 2026-11-29 16:09:02 -05:00
Dylan M. Taylor 5759f44efd test(nightly): preserve saved state and refuse invalid profile startup (#4268) 2026-11-29 16:01:38 -05:00
Dylan M. Taylor cda0d046a7 feat: use craft-nightly for nightly profile isolation (#4266)
* feat: use craft-nightly for nightly profile isolation

* fix(nightly): answer bare version queries before profile resolution

* test: update version query unit test in main.rs for craft-nightly
2026-11-29 13:48:49 -05:00
FredAppsandFredrik Hallin 0e0d7120bf ci: use the standard macOS runner for releases (#4259)
Co-authored-by: Fredrik Hallin <[email protected]>
2026-11-29 07:55:36 +01:00
FredAppsandFredrik Hallin 678ec09a77 Make premultiplied RGB zero deterministic across platforms (#4257)
Co-authored-by: Fredrik Hallin <[email protected]>
2026-11-29 06:07:03 +01:00
FredAppsandFredrik Hallin 45660841d5 test(media): make cancelled draft-switch regression deterministic (#4255)
* test(media): make cancelled draft-switch regression deterministic

* test(media): assert a submitted picture before cancelling the mode switch

---------

Co-authored-by: Fredrik Hallin <[email protected]>
2026-11-29 06:06:57 +01:00
FredAppsandFredrik Hallin cb871c8a17 Release: EffectCraft v0.26.0 (#4256)
Co-authored-by: Fredrik Hallin <[email protected]>
2026-11-29 05:36:46 +01:00
Dylan M. Taylor 068c620647 fix(nightly): enable Linux package_formats (including Flatpak) in signing policy (#4254) 2026-11-28 22:41:27 -05:00
ash 98ea1248ce packaging(linux): recommend libxkbcommon-x11 so X11 launches don't panic (#4231)
winit loads libxkbcommon-x11.so at runtime on X11. The .deb and .rpm
declared only libxkbcommon0, so on an X11 system without the X11 part
the app panicked before opening a window ("Library libxkbcommon-x11.so
could not be loaded", exit 101). Recommend it next to the other X11
libraries.
v0.25.1-nightly.20261129.46218454685.1.g98ea1248ceee
2026-11-29 07:55:00 +05:30
Dylan M. Taylor 79a4d7f350 ci: pin storytold/craft-common-actions to @main universally (#4250) 2026-11-28 16:05:59 -05:00