From e17381089133b69bb95cb7ceb6000f71b7955271 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Mon, 2 Nov 2026 05:31:07 +0700 Subject: [PATCH] Docs: command_run also allows file.removeUnused Fixes #73. --- docs/control-protocol.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/control-protocol.md b/docs/control-protocol.md index 14dd6de4..593b14f9 100644 --- a/docs/control-protocol.md +++ b/docs/control-protocol.md @@ -107,8 +107,8 @@ print(call("command.run", {"id": "layer.add.fill", "params": {"color": [0.8, 0.1 own files, so the path tools are unavailable there; `project_save` without a path invokes File › Save. -Through `command_run`, every `file.*` command but `file.close` (and `file.reimportMesh` without -a `path`) is refused, and so is any command given a `path` or `dir` (`resource.import`, +Through `command_run`, every `file.*` command but `file.close` and `file.removeUnused` (and +`file.reimportMesh` without a `path`) is refused, and so is any command given a `path` or `dir` (`resource.import`, `material.save`, `material.load`, …), in both modes: use the workspace tools below. `resource.text` takes a font family, not a path: it reads only the system's font folders.