M3.11: layer commands respect locks, keep children in place on delete, arrange step by step, keep depth and separated dimensions, keep links on duplicate/paste
- Locked layers can't be selected (Timeline click, Select All, Ctrl+Up/Down; shy layers while hidden too) and are left alone by Clear/Delete, Arrange, Layer ▸ Transform and Center Anchor Point, which fail when every target is locked (`commands::unlocked`, `commands::selectable`). - Deleting a parent unparents its children where they are, in the same undo step: the pick-whip compensation moved out of `layer.setParent` into `layer::parent_fixes` / `ParentFix::apply`, which now also handles separated X/Y Position. - Bring Forward / Send Backward move each selected layer one step (a non-contiguous selection was squeezed into one block). - Center In View / Fit to Comp keep a 3D layer's Z (and Fit keeps Scale/Anchor Z); Reset / Center / Fit / Center Anchor Point work with separated dimensions (`layer::update_position`). - Duplicate and paste keep parents and track mattes, following the copies when both were copied; paste dropped them always. - Docs: agents, parity. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
753de070a0
commit
89653f37de
@@ -111,6 +111,10 @@ build real projects through these interfaces; they are worked examples of everyt
|
||||
* **Name things when you create them**: `layer.newText`, `layer.newShape`, `layer.newSolid`,
|
||||
`layer.newNull`, `layer.newCamera` and `layer.newLight` take `name`, so later calls can say
|
||||
`"layer": "Title"`. A reference that matches no layer is an error, never a silent no-op.
|
||||
* **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
|
||||
`layer.setSwitch {"layers": [...], "switch": "lock", "value": false}` or `layer.unlockAll`.
|
||||
* **Solid Settings**: `layer.settings {layer, name?, color?, width?, height?, pixelAspect?,
|
||||
affectAll?}` edits a solid or adjustment layer's solid (and renames the layer and the solid).
|
||||
A solid shared by several layers (duplicates share theirs) changes for all of them unless
|
||||
|
||||
Reference in New Issue
Block a user