M5.2–M5.5: keyframe clipboard, easy ease, velocity/interpolation dialogs, roving, time remap/stretch/reverse/freeze, graph editor, separate dimensions, pick-whip
Engine (all commands with undo/redo + tests in engine/src/tests_timeline.rs): - keys.copy/paste (Edit Copy/Cut/Paste route to keys when keys are selected; relative timing kept, paste at CTI, cross-property paste of same type), keys.selectAll (Cmd+Alt+A), keys.nudge* (Alt+Arrow, Alt+Shift+Arrow), keys.set / keys.setEase (graph editor drags), keys.info (dialog data), keys.timeReverse; keys.interpolation gains continuous/auto Bezier, spatial interpolation and roving; keys.velocity takes per-dimension values and Continuous. - Roving keys (keyframe::retime_roving): constant speed along the motion path. - Layer > Time: layer.timeStretch (percent|duration, hold in/current/out), layer.timeReverse (Cmd+Alt+R), layer.enableTimeRemap (Cmd+Alt+T), layer.freezeFrame, layer.freezeOnLastFrame; render uses Time Remap as the source time for precomp/footage layers. - prop.separateDimensions (X/Y/Z Position; prop.set on Position writes them). - layer.setParent compensates so the layer stays in place (compensate:false to opt out). - prop.pickWhip writes AE-style reference expressions (thisComp.layer(..), effect(..)(..), mask(..).maskFeather, temp=…;[temp,temp], …[0]). - prop.setExpression: syntax errors keep the text but disable the expression. - expr: arrays of properties returned by an expression are resolved. UI: Keyframe Velocity, Keyframe Interpolation and Time Stretch dialogs; Graph Editor (value + speed graphs, draggable keys and Bezier/influence handles, auto-zoom, fit, show selected, separate dimensions, hold/linear/ auto Bezier/Easy Ease buttons); key + layer context menus. Clears the workspace clippy -D warnings failures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
dee16181fe
commit
951ed1fa3d
@@ -399,6 +399,38 @@ impl PropGroup {
|
||||
}
|
||||
None
|
||||
}
|
||||
/// Match-id path (`transform/position`, `effects/ec.blur.gaussian#2/blurriness`) of the node
|
||||
/// with `uid`: portable between layers with the same structure (keyframe paste, pick-whip).
|
||||
pub fn match_path_of(&self, uid: Uid) -> Option<String> {
|
||||
for (i, c) in self.children.iter().enumerate() {
|
||||
let n = self.children[..i].iter().filter(|o| o.match_id() == c.match_id()).count() + 1;
|
||||
let seg = if n == 1 { c.match_id().to_string() } else { format!("{}#{n}", c.match_id()) };
|
||||
if c.uid() == uid {
|
||||
return Some(seg);
|
||||
}
|
||||
if let Node::Group(g) = c
|
||||
&& let Some(p) = g.match_path_of(uid)
|
||||
{
|
||||
return Some(format!("{seg}/{p}"));
|
||||
}
|
||||
}
|
||||
None
|
||||
}
|
||||
/// Chain of nodes from this group's children down to `uid` (inclusive).
|
||||
pub fn node_chain(&self, uid: Uid) -> Option<Vec<&Node>> {
|
||||
for c in &self.children {
|
||||
if c.uid() == uid {
|
||||
return Some(vec![c]);
|
||||
}
|
||||
if let Node::Group(g) = c
|
||||
&& let Some(mut rest) = g.node_chain(uid)
|
||||
{
|
||||
rest.insert(0, c);
|
||||
return Some(rest);
|
||||
}
|
||||
}
|
||||
None
|
||||
}
|
||||
/// Human path (`Transform/Position`) of the node with `uid`.
|
||||
pub fn name_path_of(&self, uid: Uid) -> Option<String> {
|
||||
for c in &self.children {
|
||||
|
||||
Reference in New Issue
Block a user