#3233: an empty Layer Settings name follows the text again; document the name rule on layer.newText, layer.setText and layer.settings

This commit is contained in:
vangel76
2026-11-08 02:32:11 +01:00
parent 61af9e5b72
commit 77c3fad6c5
4 changed files with 18 additions and 5 deletions
+4 -1
View File
@@ -714,7 +714,10 @@ in the Plug-in Library: [publishing-plugins.md](publishing-plugins.md).
* Rename a layer with Enter (or double-click a name): the whole name is selected, Enter or a
click elsewhere commits, Escape cancels; `layer.rename {layer, name}` does it directly.
A text layer's name follows its text until it is renamed; renaming it to an empty name makes
it follow the text again (After Effects).
it follow the text again (After Effects). `layer.setText` and typing on canvas rename a text
layer whose name still follows its text; `layer.newText {name}` and a name set by
`layer.settings` or a script's `layer.name = …` (which runs `layer.rename`) stay, and an empty
`layer.settings` name follows the text again too.
* Ctrl/Cmd-click on the current-time display (Timeline or Composition panel) toggles the Time
Display Style between Timecode and Frames: `file.projectSettings {"timeDisplay": "frames"}`.
* `prop.pickWhip {layer, prop, target: {layer, prop, dimension?}}` links a property as its