mes123456 2c8449f422
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): draggable floating panels and a non-hanging tutorial demo open
- add a shared useDraggablePanel hook (pointer capture, clamping, offset
  persistence in localStorage, double-click / button / menu reset) and use it
  for the tutorial step panel, the quick toolbar, the adjust-last-operation
  panel and the robot tool drawer
- quick toolbar drags out of the dock into a compact floating bar and can be
  folded; robot tool scrim is transparent and click-through so the 3D scene
  stays visible and usable while the tool is open
- 窗口 > 恢复默认面板位置 clears every stored panel offset
- fix a pre-existing hang: tutorial demo scene opens went through the
  "save current project?" prompt and waited forever; course demos now persist
  the current OPFS project like the dialog's 保存后继续 and continue
- PBR tutorial spec: demos must not auto-download .blend (OPFS-only rule)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 21:43:40 +08:00

Blender Web WASM

Blender 5.2-based Web editor runtime with a React/Three.js frontend, a native Blender Main compiled to WebAssembly, versioned browser protocols, OPFS/IndexedDB storage, and desktop/WASM round-trip tests.

The current browser baseline is Chromium only. The release browser suite covers both the main-thread WebGL renderer and the OffscreenCanvas Worker renderer. Firefox and WebKit are permanently outside this project's test, CI, evidence, and release scope. The iron rule is Chromium-only browser execution: never launch, probe, or claim support from Firefox or WebKit. Historical Firefox/WebKit reports are archival context only and are not normative support evidence.

Layout

  • blender-5.2.0/: corresponding Blender source with the WebEngine integration.
  • web/: frontend, Worker clients, protocols, Playwright tests, and local runtime assets.
  • tools/web/: fixture, golden, build, and offline-release tooling.
  • tests/: .blend fixtures and semantic golden data.
  • docs/status/: machine-readable and task-specific parity ledger.

Verification

source tools/web/emscripten-env.sh
cmake --build build_web_blender6 --target web_engine -- -j8
bash tools/web/install-web-engine-assets.sh
npm --prefix web ci
npm --prefix web run typecheck
npm --prefix web run lint
npm --prefix web run build
npm --prefix web run test:browser

See docs/EXECUTION_QUEUE.md for the current task pointer, docs/CONTEXT_BUDGET.md for the small-context execution rules, and docs/README.md for the document map, docs/PROJECT_STATUS_AND_NEXT_WORK.md for the implemented scope, and docs/BLENDER_5_2_FULL_WEB_PARITY_EXECUTION_PLAN.md for the normative M12-M23 full-parity execution plan. The domain overview and coverage cross-check are in docs/BLENDER_5_2_WEB_FEATURE_PARITY.md and docs/BLENDER_5_2_FULL_PARITY_WBS.md.

The release contract and explicit non-goals are defined in docs/WEB_BLENDER_MODELER_V1_SCOPE.md.

Description
Blender 5.2 WebAssembly editor runtime, Chromium baseline
Readme 2.7 GiB
Languages
C++ 70.4%
Python 15.8%
TypeScript 5.1%
JavaScript 4.1%
C 1.4%
Other 3%