Merge main (engine menu tree) into M9.6; wire text animation menus

Animation ▸ Animate Text (Enable Per-character 3D, every animator property,
Fill/Stroke Color RGB/Hue/Saturation/Brightness/Opacity submenus, Line Anchor,
Character Value), Add Text Selector ▸ Range/Wiggly/Expression (text.addSelector
now supports all kinds) and Text Animation Presets after Browse Presets, in the
engine menu tree. Stubs replaced: text.perCharacter3d, animatorLineAnchor,
animatorCharacterValue, addWigglySelector, addExpressionSelector.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-02 00:44:20 -04:00
co-authored by Claude Opus 5.5
58 changed files with 8571 additions and 396 deletions
+2 -10
View File
@@ -149,7 +149,7 @@ fn add_animator_prop(s: &mut Session, p: &Value) -> Result<Value> {
Ok(json!({"animator": auid}))
}
fn add_selector(s: &mut Session, p: &Value) -> Result<Value> {
pub(crate) fn add_selector(s: &mut Session, p: &Value) -> Result<Value> {
const C: &str = "layer.addTextSelector";
let (cid, lid) = layer_p(s, p, C)?;
let kind = str_p(p, "kind").unwrap_or("range").to_ascii_lowercase();
@@ -404,15 +404,7 @@ pub fn specs() -> Vec<CommandSpec> {
has_animator,
add_selector
),
cmd!(
"layer.enablePerChar3D",
"Enable Per-character 3D",
["Animation", "Animate Text"],
None,
"{layer?, enabled?: bool, toggle?: bool}",
has_text_layer,
enable_per_char
),
cmd!("layer.enablePerChar3D", "Enable Per-character 3D", [], None, "{layer?, enabled?: bool, toggle?: bool}", has_text_layer, enable_per_char),
cmd!(
"layer.applyTextPreset",
"Apply Text Animation Preset",