mes123456 8c4419efed feat(web): Outliner Data menu deletes object hierarchies
Adds 删除层级 (Delete Hierarchy) to the Data menu for object rows. The
deleteObject command gains an optional hierarchy flag; the engine walks
the parent chains and removes the object with every descendant, matching
desktop Blender 5.2.0's OUTLINER_OT_delete hierarchy=True
(outliner_tools.cc outliner_batch_delete_object_hierarchy_tag /
outliner_batch_delete_object_hierarchy). Linked objects are still
refused before anything is deleted.

- web_engine_api.cpp / main_state.{h,cpp}: hierarchy parameter, victim
  collection through Object.parent chains, per-ID linked guard.
- protocol/App: optional hierarchy field, new menu item, delete key
  path unchanged (single-object delete).
- headed case [outliner-delete-hierarchy-web] on
  hierarchy_simplify_combined.blend: right-click RootRig, run 删除层级,
  assert RootRig + InspectionCamera + Mount + KeyLight + Payload rows
  disappear and standalone NewParent survives; full suite 22/22 PASS,
  receipt OUTLINER-HEADED-20261201-020508 (NOT_CLAIMED), regressions
  8/8 PASS, modifier-stack still the known pre-existing 1 failed / 8 passed.

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