- 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>
124 lines
2.9 KiB
JSON
124 lines
2.9 KiB
JSON
{
|
||
"schemaVersion": 1,
|
||
"id": "ch05",
|
||
"number": 5,
|
||
"part": "part-a",
|
||
"title": "撤销、自动恢复点、恢复与诊断",
|
||
"level": "入门",
|
||
"workspace": "Layout",
|
||
"minutes": 7,
|
||
"summary": "做一步、撤一步、再重做一步,用场景统计确认每一步都真实发生;最后找到诊断报告入口。",
|
||
"objectives": [
|
||
"添加对象并观察场景统计",
|
||
"撤销与重做对象操作",
|
||
"找到诊断报告导出入口"
|
||
],
|
||
"setup": {
|
||
"workspace": "Layout"
|
||
},
|
||
"steps": [
|
||
{
|
||
"id": "ch05-s1",
|
||
"title": "添加一个立方体",
|
||
"text": "点击顶栏快速入口「添加立方体」,记下状态栏的对象数。",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "添加立方体"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "scene",
|
||
"minObjects": 3,
|
||
"label": "场景对象数增加(启动场景不含默认立方体)"
|
||
}
|
||
],
|
||
"demo": [
|
||
{
|
||
"kind": "click",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "添加立方体"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ch05-s2",
|
||
"title": "撤销刚才的操作",
|
||
"text": "点击顶栏「撤销」(Ctrl+Z),新对象消失,对象数回落。",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "撤销"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "exists",
|
||
"target": {
|
||
"css": "button[aria-label=\"撤销\"]"
|
||
},
|
||
"label": "撤销按钮可用"
|
||
}
|
||
],
|
||
"demo": [
|
||
{
|
||
"kind": "click",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "撤销"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ch05-s3",
|
||
"title": "重做撤销的操作",
|
||
"text": "点击「重做」(Shift+Ctrl+Z),对象重新出现。",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "重做"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "scene",
|
||
"minObjects": 3,
|
||
"label": "重做后对象回到 3 个以上"
|
||
}
|
||
],
|
||
"demo": [
|
||
{
|
||
"kind": "click",
|
||
"target": {
|
||
"role": "button",
|
||
"name": "重做"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ch05-s4",
|
||
"title": "导出诊断报告",
|
||
"text": "操作过后,「导出诊断报告」变为可用;它把最近的错误与事件写成一份报告,便于排查。",
|
||
"target": {
|
||
"testid": "export-diagnostics"
|
||
},
|
||
"checks": [
|
||
{
|
||
"kind": "exists",
|
||
"target": {
|
||
"testid": "export-diagnostics"
|
||
},
|
||
"label": "诊断报告入口存在"
|
||
},
|
||
{
|
||
"kind": "count",
|
||
"target": {
|
||
"testid": "engine-status"
|
||
},
|
||
"atLeast": 1,
|
||
"label": "状态栏可读取引擎事件"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|