From d88bb3ea4bf7b197a401eca0e6eeffa66ce27ede Mon Sep 17 00:00:00 2001 From: vangel76 Date: Wed, 25 Nov 2026 10:41:37 +0100 Subject: [PATCH] Correct the UV persistence note in the control protocol docs --- docs/control-protocol.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/control-protocol.md b/docs/control-protocol.md index 0754f7c1..2640b9a5 100644 --- a/docs/control-protocol.md +++ b/docs/control-protocol.md @@ -318,9 +318,10 @@ takes a font family, not a path: it reads only the system's font folders. `file.close` leaves no project open: `session.inspect` then reports `projectOpen: false`, `command.list` marks every command but the project-independent ones as not enabled: the ones that open or create a project (`file.open`, `file.new`, `project.new`, `project.sample`), `project.inspect`, `viewport.frame`, `project.templates`, the `export.preset*` commands (`export.presets`, `export.preset.get`, `export.preset.save`, `export.preset.remove`) and the library and preset listings (`brush.preset.list`, `alpha.list`, `filter.list`, `material.list`, `mask.smart.list`, `text.fonts`), each still subject to its own enabled check. The rest are refused with "no project is open" until a project is opened or created. A `texturecraft --control` run starts with the sample project (an empty material ball with `--empty`); the app without `--control` starts with no project. The desktop control channel accepts `rebuildUvs: true` on `file.new` to generate a new UV layout. -The default keeps a complete authored layout and unwraps meshes that need UVs. The project file -saves the generated layout, so reopening it never runs the unwrapper again; reimporting the mesh -from a file rebuilds its UVs. +The default keeps a complete authored layout and unwraps meshes that need UVs. Reopening such a +project imports the mesh again and unwraps it again, as before. Only `rebuildUvs: true` makes the +project file save the generated layout, so reopening it never runs the unwrapper again; +reimporting the mesh from a file rebuilds its UVs. | Tool | Params | Notes | |---|---|---|