Merge pull request #933 from Themolx/replace-with-precomp

# Conflicts:
#	crates/engine/src/tests_project_items.rs
This commit is contained in:
Brandon Thomas
2026-10-13 04:31:42 -04:00
10 changed files with 282 additions and 3 deletions
+3
View File
@@ -227,6 +227,9 @@ build real projects through these interfaces; they are worked examples of everyt
* **Several footage items at once**: `file.newCompFromSelection {single, dimensionsFrom, duration,
sequence, overlap, overlapDuration, transition, addToRenderQueue}` is one undo step (select the
items first: `project.select`).
* **Where an item is used**: `project.usedIn {item?}` → `{item, count, comps: [{id, name, layers}]}`
counts the layers, in every comp, whose source the item is (direct uses only, as the Project
panel's "Name ▾, used 3 times" header; its ▾ lists the comps and opens the one picked).
* **Locked layers** are left alone: `edit.clear`, `layer.arrange`, `layer.transform` and
`layer.centerAnchor` skip them and fail when every target is locked ("… is locked"); Select
All and `layer.selectNext` / `selectPrevious` step over them. Unlock with