MCP: Text Path Options ▸ Path lists the layer's masks as its options, like the Timeline

This commit is contained in:
Marco Arnulfo
2026-10-30 00:44:58 +01:00
parent 701d9df8a5
commit 86268fc4cc
10 changed files with 40 additions and 24 deletions
+2 -2
View File
@@ -129,8 +129,8 @@ fn group_json(g: &PropGroup, path: &str, l: &Layer, t: effectcraft_time::Tick, d
if let Some(e) = &p.expr {
o["expression"] = json!(e.text);
}
if let Some(opts) = super::popup_options(&p.ui) {
o["options"] = opts;
if let Some(opts) = l.popup_options(p) {
o["options"] = super::popup_options(&opts);
}
o
}