Files
workinf_Blender_Wasm/web/app/public/teach/lessons/ch08.json
mes123456 c47fa79102
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled
feat(web): viewport transform parity — offscreen backend, per-island pivots, ortho sizing
- 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>
2026-11-28 07:48:17 +08:00

148 lines
3.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"schemaVersion": 1,
"id": "ch08",
"number": 8,
"part": "part-b",
"title": "Outliner:选中对象并重命名",
"level": "入门",
"workspace": "Layout",
"minutes": 6,
"summary": "在场景层级(大纲树)里选中对象,并通过「物体 → 重命名」改名,验证改动在树里立即生效。",
"objectives": [
"在大纲树里定位对象",
"使用物体菜单重命名",
"确认树与场景同步"
],
"setup": {
"fixture": "/teach/fixtures/basic-scene.blend",
"workspace": "Layout"
},
"steps": [
{
"id": "ch08-s1",
"title": "在大纲树里选中 BasicCube",
"text": "在右上角的「场景层级」里点击 BasicCube 这一行,状态栏的 Active 会变成 BasicCube。",
"hint": "树里点一下即可选中;行左侧的三角用于展开子项。",
"target": {
"role": "treeitem",
"name": "BasicCube"
},
"referenceImage": "/manuals/images/ch08-outliner.jpg",
"checks": [
{
"kind": "attr",
"target": {
"role": "treeitem",
"name": "BasicCube"
},
"attribute": "aria-selected",
"equals": "true",
"label": "大纲树里 BasicCube 处于选中态"
},
{
"kind": "scene",
"object": "BasicCube",
"active": true,
"label": "场景的活动对象是 BasicCube"
}
]
},
{
"id": "ch08-s2",
"title": "打开「物体」菜单",
"text": "在三维视图的菜单栏点击「物体」,展开物体操作菜单。",
"target": {
"role": "button",
"name": "物体"
},
"checks": [
{
"kind": "exists",
"target": {
"role": "menuitem",
"name": "重命名"
},
"label": "菜单里出现「重命名」"
}
]
},
{
"id": "ch08-s3",
"title": "选择「重命名」",
"text": "点击菜单里的「重命名」,会弹出名称输入框。",
"target": {
"role": "menuitem",
"name": "重命名"
},
"checks": [
{
"kind": "exists",
"target": {
"role": "textbox",
"name": "新对象名称"
},
"label": "名称输入框已打开"
}
],
"demo": [
{
"kind": "click",
"target": {
"role": "button",
"name": "物体"
}
},
{
"kind": "click",
"target": {
"role": "menuitem",
"name": "重命名"
}
}
]
},
{
"id": "ch08-s4",
"title": "输入新名称并确认",
"text": "在名称框里输入 Renamed By Teach,点击「确认」;大纲树里的行会立即改名。",
"hint": "重命名只改变对象名,不会复制数据。",
"target": {
"role": "textbox",
"name": "新对象名称"
},
"checks": [
{
"kind": "exists",
"target": {
"role": "treeitem",
"name": "Renamed By Teach"
},
"label": "大纲树出现新名称"
},
{
"kind": "scene",
"object": "Renamed By Teach",
"label": "场景里存在改名后的对象"
}
],
"demo": [
{
"kind": "fill",
"target": {
"role": "textbox",
"name": "新对象名称"
},
"value": "Renamed By Teach"
},
{
"kind": "click",
"target": {
"role": "button",
"name": "确认"
}
}
]
}
]
}