Keep Footage panel overlay/insert edits at full length past the comp end (#795)

This commit is contained in:
MarekSpodBiedry
2026-10-12 08:05:22 +02:00
parent db11dffa18
commit 5df37babc3
2 changed files with 12 additions and 1 deletions
+2 -1
View File
@@ -179,7 +179,8 @@ fn edit_into_comp(s: &mut Session, p: &Value, ripple: bool) -> Result<Value> {
let mut l = build::layer(proj, &comp, &it.name, src, size, Some(len));
l.start_time = at - src_in;
l.in_point = at;
l.out_point = (at + len).min(comp.duration);
// Keep the full marked length past the comp's end (After Effects); the comp just doesn't show it.
l.out_point = at + len;
let lid = l.id;
let cm = proj.comp_mut(cid).ok_or(EngineError::NoComp)?;
cm.layers.insert(0, l);