- 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>
44 lines
1.9 KiB
JSON
44 lines
1.9 KiB
JSON
{
|
||
"schemaVersion": 1,
|
||
"id": "ch04",
|
||
"number": 4,
|
||
"part": "part-a",
|
||
"title": "浏览器存储:OPFS 保存、重开与手动本地下载",
|
||
"level": "入门",
|
||
"workspace": "Layout",
|
||
"minutes": 6,
|
||
"summary": "验证「保存 → 关掉 → 再打开」全过程都在浏览器 OPFS 里完成;需要本地文件时,才手动走下载入口。",
|
||
"objectives": ["完成一次 OPFS 保存", "在最近项目里看到已保存工程", "区分保存与手动下载"],
|
||
"setup": { "workspace": "Layout" },
|
||
"steps": [
|
||
{
|
||
"id": "ch04-s1",
|
||
"title": "保存工程到 OPFS",
|
||
"text": "点击顶栏「保存项目」。保存只写浏览器存储,不会触发下载。",
|
||
"target": { "role": "button", "name": "保存项目" },
|
||
"checks": [
|
||
{ "kind": "text", "target": { "testid": "dirty-status" }, "equals": "已保存", "label": "保存状态为「已保存」" }
|
||
],
|
||
"demo": [{ "kind": "click", "target": { "role": "button", "name": "保存项目" } }]
|
||
},
|
||
{
|
||
"id": "ch04-s2",
|
||
"title": "在最近项目里确认工程",
|
||
"text": "顶栏「最近项目」下拉会列出浏览器里保存过的工程,刷新页面后也能从这里重开。",
|
||
"target": { "testid": "recent-projects" },
|
||
"checks": [
|
||
{ "kind": "count", "target": { "css": "[data-testid=\"recent-projects\"] option" }, "atLeast": 1, "label": "最近项目里至少有一个工程" }
|
||
]
|
||
},
|
||
{
|
||
"id": "ch04-s3",
|
||
"title": "需要本地文件时手动下载",
|
||
"text": "「下载 .blend」是独立的手动动作:只有你点击时才会把文件存到本地磁盘。",
|
||
"target": { "role": "button", "name": "下载 .blend" },
|
||
"checks": [
|
||
{ "kind": "exists", "target": { "css": "button[aria-label=\"下载 .blend\"]" }, "label": "顶栏有独立的下载入口" }
|
||
]
|
||
}
|
||
]
|
||
}
|