mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-26 17:30:45 +01:00
Correct the UV persistence note in the control protocol docs
This commit is contained in:
1 parent
a59e29bea1
commit
d88bb3ea4b
1 file changed
+4
-3
@@ -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 |
|
||||
|---|---|---|
|
||||
|
||||
Reference in new issue
Block a user