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
|
||||
|
||||
@@ -383,6 +383,24 @@ Browser in the web app (landed in M13.10: browser storage and File System Access
|
||||
wrong signatures and versions, fuel exhaustion, traps and bit-identical output; script
|
||||
`Socket` validates ports, and ScriptUI resource strings accept trailing array commas.
|
||||
|
||||
## Update: M3.11 layer commands
|
||||
|
||||
- **Lock**: locked layers can't be selected (a Timeline click, Select All, Ctrl+Up / Down step
|
||||
over them, as do shy layers while hidden) and are left alone by Clear / Delete, Arrange, the
|
||||
Layer ▸ Transform commands and Center Anchor Point (an error when every target is locked).
|
||||
- **Deleting a parent** unparents its children where they are (their Position, Rotation and
|
||||
Scale are re-expressed in the composition, like the pick-whip), in the same undo step; they
|
||||
used to jump.
|
||||
- **Bring Forward / Send Backward** move each selected layer one step past the next unselected
|
||||
layer, so a non-contiguous selection keeps its gaps (it was squeezed into one block).
|
||||
- **Layer ▸ Transform**: Center In View and Fit to Comp keep a 3D layer's depth (Z was reset to
|
||||
0) and Fit keeps Scale / Anchor Z; Reset, Center and Fit set X / Y Position when the dimensions
|
||||
are separated (they changed the hidden combined Position, so nothing moved); Center Anchor
|
||||
Point keeps layers with separated dimensions in place.
|
||||
- **Duplicate and paste** keep parents and track mattes: a copy follows the copy of its parent /
|
||||
matte when both were copied, else the original in the same composition (paste dropped them
|
||||
always).
|
||||
|
||||
## Update: M3.10 Layer Settings and settings dialogs
|
||||
|
||||
Layer ▸ Layer Settings on a solid or adjustment layer opens Solid Settings on the layer's solid
|
||||
|
||||
Reference in New Issue
Block a user