Merge main into M7 3D branch
Resolve conflicts with perf (layer cache / Arc<Buf>), export (RenderOpts.view: None for output), timeline (separate dimensions + one-node POI visibility), mask/pen viewer gestures (alongside camera tools and view-aware layer matrices), key dialogs (alongside Camera/Light Settings), render queue + MCP command modules. 3D path tangent honours separated position; DOF blurs a per-frame copy so cached layer buffers stay shared. New test: cached renders match uncached after camera, focus, light and 3D view changes. Fix a clone-on-copy lint from main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -208,8 +208,9 @@ pub fn rig_rotation(ctx: &EvalCtx, layer: &Layer) -> Mat4 {
|
||||
/// Direction of travel of a layer's position (parent space) at the context time.
|
||||
fn path_tangent(ctx: &EvalCtx, layer: &Layer) -> Option<Vec3> {
|
||||
let tr = layer.transform()?;
|
||||
let p = tr.get("position")?;
|
||||
if p.keys.len() < 2 && !p.has_expression() {
|
||||
// Position (or its separated X/Y/Z dimensions) must be animated.
|
||||
let moving = ["position", "positionX", "positionY", "positionZ"].iter().any(|m| tr.get(m).is_some_and(|p| p.keys.len() > 1 || p.has_expression()));
|
||||
if !moving {
|
||||
return None;
|
||||
}
|
||||
let dt = effectcraft_time::Tick::from_seconds_f64(0.005);
|
||||
|
||||
Reference in New Issue
Block a user