mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-24 18:18:17 -06:00
Merge branch 'main' into worktree-agent-a15cecfec57d5290d
# Conflicts: # crates/effects/src/ocio.rs # crates/engine/src/commands/stubs.rs # docs/parity.md
This commit is contained in:
@@ -482,7 +482,13 @@ pub fn to_value(out: &Out, current: &Value) -> Result<Value, String> {
|
||||
v.resize(n, [0.0; 2]);
|
||||
v
|
||||
};
|
||||
Value::Path(effectcraft_keyframe::ShapePath { vertices: points.clone(), in_tangents: fit(ins), out_tangents: fit(outs), closed: *closed })
|
||||
Value::Path(effectcraft_keyframe::ShapePath {
|
||||
vertices: points.clone(),
|
||||
in_tangents: fit(ins),
|
||||
out_tangents: fit(outs),
|
||||
closed: *closed,
|
||||
feather: Vec::new(),
|
||||
})
|
||||
}
|
||||
_ => return Err("Error: expression result must be a path".into()),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user