Files
workinf_Blender_Wasm/web/app/public/teach/lessons/ch17.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

44 lines
1.8 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": "ch17",
"number": 17,
"part": "part-c",
"title": "Texture Paint:画笔、撤销/重做、Make Local 与 OPFS",
"level": "进阶",
"workspace": "Texture Paint",
"minutes": 8,
"summary": "切到 Texture Paint 工作区,确认可绘制画布出现,并从图像下拉里选一张纹理。",
"objectives": ["切换到 Texture Paint 工作区", "确认可绘制画布", "选择一张纹理图像"],
"setup": { "fixture": "/teach/fixtures/basic-scene.blend", "workspace": "Layout" },
"steps": [
{
"id": "ch17-s1",
"title": "切换到 Texture Paint 工作区",
"text": "点击顶部「Texture Paint」,视口切换为绘制视图。",
"target": { "role": "button", "name": "Texture Paint" },
"checks": [
{ "kind": "scene", "workspace": "Texture Paint", "label": "当前工作区是 Texture Paint" }
],
"demo": [{ "kind": "click", "target": { "role": "button", "name": "Texture Paint" } }]
},
{
"id": "ch17-s2",
"title": "确认可绘制画布",
"text": "选中带图像的网格后,绘制画布出现;没有图像时先建一张图像再绘制。",
"target": { "testid": "texture-paint-canvas" },
"checks": [
{ "kind": "exists", "target": { "testid": "texture-paint-canvas" }, "label": "纹理绘制画布可见" }
]
},
{
"id": "ch17-s3",
"title": "选择纹理图像",
"text": "在「纹理图像」下拉里选择要绘制的图像,画笔会直接写进这张图像。",
"target": { "css": "[data-testid=\"texture-paint-canvas\"]" },
"checks": [
{ "kind": "count", "target": { "css": "select[aria-label=\"纹理图像\"] option" }, "atLeast": 1, "label": "纹理图像下拉至少一个选项" }
]
}
]
}