Fix duplicate mref declaration in timeline clip builder.

This commit is contained in:
digital-garbage
2026-06-11 16:17:34 +03:00
parent 9919d44e3e
commit df0138b8e1
-1
View File
@@ -473,7 +473,6 @@
const root = unitCuts > 1
? (p.scenes || []).find((s) => (s.gen_unit_id || s.id) === (scene.gen_unit_id || scene.id) && !(s.cut_offset_frames > 0))
: null;
const mref = anchorMediaRef(scene, p);
const label = S.isVideoClip(scene)
? ((mref && (st.mediaBin || []).find((m) => m.id === mref)?.name) || "Video clip")
: (scene.text || (root && root.text) || (subclip ? "cut" : "empty scene"));