- Offscreen worker backend publishes the camera probe, so the G/R/S modal's pointer basis, transform gizmo and wireframe work on both renderers. - Edit-mode INDIVIDUAL_ORIGINS pivots every connected island on its own centre, committed as one grouped transaction (T(P)·R·S·T(-P) in object space). - Gizmo hits carry the pivot index; orthographic views size the axes from the visible world height instead of the 45° fov fallback. - View-menu navigation no longer switches workspace when a viewport is already on screen (the engine workspace transaction dropped the editor out of Edit). - Modal commits queue behind the shared command tail, so a trailing editEditorContext cannot consume the user's first Ctrl+Z. - Floating sidebar rotation field confirmed in degrees; headed cases for the offscreen path, per-island pivots and the sidebar unit, plus receipts/docs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
126 lines
3.2 KiB
JSON
126 lines
3.2 KiB
JSON
{
|
||
"schemaVersion": 1,
|
||
"id": "ch02",
|
||
"number": 2,
|
||
"part": "part-a",
|
||
"title": "界面总览:工作区、编辑器、状态栏与命令搜索",
|
||
"level": "入门",
|
||
"workspace": "Layout",
|
||
"minutes": 5,
|
||
"summary": "认全界面骨架:顶部工作区标签、中部四个区域、底部状态栏,以及一个能代替翻菜单的命令搜索。",
|
||
"objectives": [
|
||
"识别工作区标签栏",
|
||
"读懂引擎状态与场景统计",
|
||
"用命令搜索执行一次操作"
|
||
],
|
||
"setup": {
|
||
"workspace": "Layout"
|
||
},
|
||
"steps": [
|
||
{
|
||
"id": "ch02-s1",
|
||
"title": "认识工作区标签栏",
|
||
"text": "顶部一排标签是工作区:Layout、Modeling、Animation……点击即可整套切换区域布局。",
|
||
"target": {
|
||
"css": "nav[aria-label=\"工作区\"]"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "count",
|
||
"target": {
|
||
"css": "nav[aria-label=\"工作区\"] button"
|
||
},
|
||
"atLeast": 6,
|
||
"label": "顶部至少有 6 个工作区标签"
|
||
},
|
||
{
|
||
"kind": "scene",
|
||
"workspace": "Layout",
|
||
"label": "当前在 Layout 工作区"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ch02-s2",
|
||
"title": "读懂状态栏",
|
||
"text": "左下角的引擎状态显示 WASM 是否就绪;场景统计显示对象、顶点与面数,操作后要盯这里确认结果。",
|
||
"target": {
|
||
"testid": "engine-status"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "exists",
|
||
"target": {
|
||
"testid": "engine-status"
|
||
},
|
||
"label": "引擎状态可见"
|
||
},
|
||
{
|
||
"kind": "text",
|
||
"target": {
|
||
"testid": "scene-stats"
|
||
},
|
||
"matches": "Objects \\d+",
|
||
"label": "场景统计显示对象数"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ch02-s3",
|
||
"title": "用命令搜索找操作",
|
||
"text": "点击顶栏的「操作搜索」(快捷键 F3),输入操作名就能执行,不必记住它在哪个菜单。",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "操作搜索"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "count",
|
||
"target": {
|
||
"css": "[role=\"dialog\"]"
|
||
},
|
||
"atLeast": 1,
|
||
"label": "搜索面板已弹出"
|
||
}
|
||
],
|
||
"demo": [
|
||
{
|
||
"kind": "click",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "操作搜索"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ch02-s4",
|
||
"title": "关闭搜索面板",
|
||
"text": "搜索面板是模态的:按右上角 × 或 Esc 关闭它,才能继续操作其他面板。",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "关闭操作搜索"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "count",
|
||
"target": {
|
||
"css": "[role=\"dialog\"]"
|
||
},
|
||
"equals": 0,
|
||
"label": "搜索面板已关闭"
|
||
}
|
||
],
|
||
"demo": [
|
||
{
|
||
"kind": "click",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "关闭操作搜索"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|