mes123456 5a21a34c34
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
fix(web): keep the native viewport usable after opening a large project
root cause chain, matching desktop semantics: the desktop runs a file load on
the WM thread, so nothing else is dispatched while it runs. the web port sends
pythonExec/viewportObjectAxis while an 85 s open (and a frame posted before it)
still own the worker; those requests pass the 30 s timeout, the client marks
Main uncertain, and every later frame is rejected with "WebEngine Main 状态待恢复"
until the surface stops. the test helper exposeWebTools() also switches to the
web view, idling the pump and producing the old "needs a wake-up" artefact.

fixes:
- client: timeouts of read-only sync commands no longer mark Main uncertain;
  only commands that may mutate it do.
- canvas: a frame rejected for Main recovery keeps the pump alive with a bounded
  250 ms retry, and the frame carrying a new owner counts as the first
  acknowledged frame so readiness returns one round-trip sooner.
- worker: publish the scene only when Main's revision advanced or the frame
  carried input; publish geometry only with a revision change and let the app
  retain the previous buffers. response payloads drop from 1888 transfers to a
  small snapshot instead of a full SceneIR and geometry projection per frame.

regression case: opening the 238-object fixture inside the native view reaches
readiness with no pointer input and consumes a middle-drag; headed run passes
in ~2.4 minutes. acceptance stays NOT_CLAIMED.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-06 08:32:19 +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 4 GiB
Languages
C++ 70%
Python 15.7%
TypeScript 5.1%
JavaScript 4.2%
C 1.4%
Other 3.4%