Merge pull request #950 from Themolx/trim-selected-layers

Timeline: trim all selected layers together

# Conflicts:
#	crates/engine/src/tests_timeline.rs
This commit is contained in:
Brandon Thomas committed 2026-10-12 04:21:07 -04:00
commit 8e6c3e0e68
5 files changed
+66 -9

No files matched your search

+1 -1
View File
@@ -145,7 +145,7 @@ carries outside-range warnings; the existing objects from `keys.set` and `prop.g
also report both bases and warnings. `prop.get.time` is comp seconds. Separated Position
`prop.set` retains per-axis replies; for these commands, `path` or `prop` identifies a property, not a group.
Set offsets with `layer.timing {layer, start: 10.5}`; `in`, `out` and `delta` also use comp seconds.
Set offsets with `layer.timing {layer, start: 10.5}`; `in`, `out` and `delta` also use comp seconds; `inDelta` / `outDelta` trim each layer from its own in/out point.
For an unstretched layer starting at 10.5 s in a 30 fps comp,
`prop.addKey {layer: "A", path: "transform/opacity", time: 15.3,
timeBase: "comp", value: 0}` writes a key at comp 15.3 s (layer 4.8 s), matching
+3
View File
@@ -391,6 +391,9 @@ their on-screen scale, as text is vector in After Effects; on shape layers and v
switch is Continuously Rasterize and does the same. Quality: Draft samples
nearest-neighbour, Wireframe draws the layer bounds. Slip edit (`layer.slip`, Alt+PageUp/Down,
dragging the source bar in the timeline) moves the source under fixed in/out points.
Dragging a layer bar's in or out edge with several layers selected trims every selected layer by
the same amount from its own in/out point (`layer.timing {inDelta | outDelta}`), clamped to the
comp and to one frame of layer, as one undo step.
**Nested comps** show nothing before they start or after they end (`Comp::covers`), even when
the precomp layer is trimmed or remapped past them. A comp with **Preserve frame rate when nested