Docs: command_run also allows file.removeUnused

Fixes #73.
This commit is contained in:
bflatastic committed 2026-11-02 05:31:07 +07:00
1 parent 3fac2b1482
commit e173810891
1 file changed
+2 -2
+2 -2
View File
@@ -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.