Commit Graph

199 Commits

Author SHA1 Message Date
mes123456
475bbd5e73 feat(web): Outliner Data menu deletes collections and hierarchies
Outliner rows now carry the native collection identity (collectionId), so
the Data menu can resolve a collection row the same way rename does. The
menu gains 删除集合 / 删除层级, dispatching the existing deleteCollection
edits with hierarchy false/true, matching the desktop collection context
menu.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 14:20:22 +08:00
mes123456
0f4ab653c6 feat(web): Outliner Data menu copies and pastes through the native copybuffer
OUTLINER_ID_OPERATION now also routes COPY and PASTE, calling
OUTLINER_OT_id_copy and OUTLINER_OT_id_paste directly. Copy writes the
selected data-blocks to the engine copybuffer file in the OPFS-backed
MEMFS root; Paste appends them to the active collection with the
desktop-generated names, as the headed case shows with BasicCube.001.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 13:50:54 +08:00
mes123456
27da01662b feat(web): Outliner Data menu unlinks and single-users through the native operator
A new OUTLINER_ID_OPERATION engine action calls OUTLINER_OT_id_operation
with type UNLINK or SINGLE, matching the desktop ID Data menu. The
right-click press now selects the hovered row first, as
do_outliner_operation_event does, so the operator sees it as the active
element. The Data menu carries 取消链接 and 设为单用户 entries.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 13:29:04 +08:00
mes123456
6f91bbe50e feat(web): Outliner box select runs through the native engine
B arms a drag box, Shift adds and Ctrl subtracts, all through a new
OUTLINER_SELECT_BOX engine action that follows OUTLINER_OT_select_box:
SET pre-deselects and clears rows outside the dragged band, SUB clears
in-range rows. The command joins the revision-refresh list so a box
dispatched right after a click selection no longer fails on a stale
baseRevision.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 12:25:17 +08:00
mes123456
48d9965bb2 feat(web): Outliner deletes objects from the keymap and the Data menu
The desktop Outliner binds outliner.delete to X and Del and also carries
it in the context/Data menu; the web data menu only offered rename and
Remap Users. Both entries now run the existing deleteObject edit for the
object row under the cursor or keyboard focus, so the deletion travels
through the same native Main transaction as the viewport delete.

The headed case [outliner-delete-web] deletes one object with X and one
through the Data menu entry, checking the native row set shrinks and the
labels disappear; receipt OUTLINER-HEADED-20261130-082221 (NOT_CLAIMED,
9/9). Collection rows still lack Delete Hierarchy, which stays queued.
The armature panel regression keeps failing identically at HEAD and is
tracked as pre-existing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 08:23:47 +08:00
mes123456
3294a872ef feat(web): Outliner select-all keys follow the desktop keymap
The desktop Outliner binds outliner.select_all to A (select all), Alt+A
(deselect) and Ctrl+I (invert) through _template_items_select_actions
(blender_default.py); the web tree only carried Ctrl+A. Moving the keys
into the row handler did not help either: react-accessible-treeview owns
the focused li[role=treeitem] wrapper, so row-level keydown handlers never
see the keys that matter. The container now resolves the treeitem with
closest() and handles the three bindings before the row lookup, because
selection acts on the whole tree rather than one row.

The treeview used to record every keydown, including a bare Alt or
Control, as a keyboard-originated selection. The library fires onSelect
again when the controlled selection changes, so that stale tag made the
app send a single-row selection right after the command the user's key
ran, leaving only the focused row selected. Modifier-only presses no
longer record a source. Rows also expose data-selected from the engine
snapshot so the headed case can read native selection truth instead of
the treeview's aria state.

Headed case [outliner-select-keys-web] covers A, Alt+A and Ctrl+I against
the fixture scene; receipt OUTLINER-HEADED-20261130-081320 (NOT_CLAIMED,
8/8). The armature panel regression keeps failing identically with this
batch stashed and stays tracked as pre-existing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 08:15:36 +08:00
mes123456
ecf69c6ef5 feat(web): Outliner restriction columns write the native flags
The web Outliner drew a single eye toggle while desktop draws the seven
restriction columns from SpaceOutliner.show_restrict_flags. The engine row
projection now carries restrict{...} read from the same flags the desktop
buttons use: the eye is Base.hide_viewport, the monitor/camera/select bits
live on Object, and exclusion/holdout/indirect-only come from the layer
collection. OUTLINER_SET_RESTRICTION writes the property through RNA; Shift
recurses through the collection subtree and its objects, Ctrl goes through
outliner_collection_isolate_flag (whose second click restores the default
visibility set). OUTLINER_SET_RESTRICT_COLUMNS toggles the popover
checkboxes; both are Main edits with changed=true.

The App renders the restriction buttons and the 限制列 popover group from
restrictColumns with optimistic drafts, except for isolate clicks, where
outliner_collection_isolate_flag forces the clicked collection back to
visible and a draft for that row could never reconcile with the snapshot.

Headed case [outliner-restrict-web] covers the popover columns, the object
eye plus the native VISIBLE filter, Shift recursion into a collection and
Ctrl isolate/restore on a product-created sibling collection; receipt
OUTLINER-HEADED-20261130-072807 (NOT_CLAIMED, 7/7). The armature panel
regression fails identically with this batch stashed, so it is tracked as
pre-existing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 07:37:01 +08:00
mes123456
1c8cc73e3d feat(web): Outliner search and state filters run through the native engine
The web Outliner filtered rows in the bundle while desktop filters inside
outliner_build_tree, so the filter controls diverged as soon as the tree
was rebuilt. OUTLINER_SET_FILTER writes SpaceOutliner's own search_string,
search_flags, flag and filter/filter_state fields and lets the native tree
rebuild; OUTLINER_SET_SYNC_SELECT toggles SO_SYNC_SELECT. Both are UI
state, so they report changed=false and leave history alone.

The protocol, worker and snapshot carry filter{...} and syncSelection; the
App drops the client-side filter on the native path (it stays for the
fallback surface), keeps an optimistic draft so the snapshot-controlled
checkboxes do not snap back during the async round trip, and rebases
Outliner intents after any Outliner command bumps the revision.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 06:36:34 +08:00
mes123456
77c040f484 feat(web): Outliner display modes switch through the native tree
SpaceOutliner.outlinevis is now driven by OUTLINER_SET_DISPLAY_MODE on the
editor-context channel: the action sets the mode, rebuilds the tree with
SO_TREESTORE_REBUILD, and reports changed=false so the switch stays out of
history and does not bump the revision. Snapshots carry displayMode plus
the desktop displayModes menu (Scenes, View Layer, Video Sequencer,
Blender File, Data API, Library Overrides, Unused Data).

The first UI-only command exposed a stale-metadata bug: rebuild_binary_scene
caches by revision, so a changed=false command that altered the snapshot
left the worker reading the previous metadata. Invalidate the binary cache
when the stored snapshot differs. The Outliner toolbar gains the mode
selector, rebased like the other Outliner intents so a concurrent refresh
cannot reject a rapid second switch.

Headed case outliner-display-mode-web switches to Data API and back; the
display-mode engine probe becomes a hard preflight gate.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 05:50:36 +08:00
mes123456
5ce5625f2e feat(web): workbench Outliner matches the desktop Layout geometry
The desktop golden comes from Blender's own laid-out screen data
(tools/web/measure-outliner-desktop.py, blender 5.2.0 LTS, factory
Layout at 1920x1080): right column 339 px, Outliner area 339x189 under
a 26 px header, 20 px rows, 14 px per-level indent (0.7 * UI_UNIT_X).
The workbench derives the right width and the Outliner/timeline split
from those ratios so it reproduces the area at the reference size and
scales elsewhere.

The headed suite grows outliner-metrics-web with +-1 px assertions,
and the runner now materializes inline base64 attachments so the
checker can compare the measured boxes against the golden.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 04:21:08 +08:00
mes123456
721acdad4f test(web): headed Outliner suite records today's baseline before the parity batches
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
The three baseline cases pin what the product already does: the shared React
tree keeps ARIA semantics and selection wiring, the tools bar searches, filters
and round-trips the eye column and the desktop mirror reaches the same tree
through the topbar 工作区显示 switch once the native canvas is dismissed.

The runner clones the armature-headed structure: preflight on DISPLAY, Chromium
and candidate hashes, a self-contained NOT_CLAIMED receipt per run that is never
overwritten, and soft feature probes (display modes, native filter, restriction
columns) that become gates together with the engine batches. The checker
re-validates candidate index/manifest/wasm hashes, fixture bytes and every
artifact sha256, and refuses headed claims without X11.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 04:01:04 +08:00
mes123456
3e97d5b645 feat(web): outliner rows render through one React tree with search and filters
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
Both Outliner surfaces (native workflow rows and the snapshot fallback) now
render through the shared OutlinerTreeView, so the hand-built tree markup in
App.tsx is gone. The toolbar gains a name search, and the filter popover at
the end of the toolbar narrows rows to visible or selected objects; collection
rows join a sidebar-filtered result only as ancestors, so the root cannot keep
every descendant visible. The treeview is keyed on its node set and restores
focus and scroll across that remount. A production spec exercises the search,
clear and filter round trip.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 03:12:32 +08:00
mes123456
8d9bb86f12 fix(web): armature edit-mode bones survive save and the coverage spec runs
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
The coverage spec could not start: the armature workbench renders only in the
web workbench (?ui=web), the diagnostic-panel filter hid it there, and the
spec's own WebEngineClient waited on the editor's exclusive native-files Web
Lock. Give the client an ephemeral mode (marked by worker name, no OPFS store
and no lock) and let the fixture load in web mode without the native overlay.

Bone authoring in Edit mode was also discarded on save: the engine wrote
object bones while the save flush rebuilds them from the edit-bone list
(ED_editors_flush_edits -> ED_armature_from_edit). Mirror each edit into the
edit bones and refresh arm_roll from the bone matrix so roll survives the
round trip.

armature-editor-coverage-ui-production: 6 passed (dev server, Chromium).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 02:23:33 +08:00
mes123456
013ea78a45 fix(web): robot rig places bones on the URDF chain and keeps bound worlds
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
The rig step placed every bone at its parent-link-relative URDF offset and
the engine's keep_transform world recursion treated already-bound ancestors
as plain PAROBJECT, so binding in chain order dropped the ancestor bone
matrix and every link jumped on the rig click (deltas up to 1.26).

- set_parent: refresh the pose before computing the world and compose
  PARBONE ancestors like BKE_object_calc_parent/ob_parbone.
- robot-workflow rig: accumulate URDF joint frames from rootLink (fixed
  joints included) and place head/axis on the real joint position.
- robot-rig-web now asserts zero world drift, bone pivots on the URDF
  joints, bone Y on the joint axes, joint_3 rotation moving only its
  subtree about the true axis, and 恢复零位 restoring every link.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 19:20:27 +08:00
mes123456
8f08c1bda9 feat(web): armature properties split edit, pose and object modes with Ctrl+Tab
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
- Properties gates the rest-edit forms (add bone, per-bone rest form, bone
  operations) to Edit mode and the pose readback form to Pose mode; Object
  mode shows a read-only summary with 进入编辑模式 / 进入姿态模式 buttons.
  The workbench root carries data-armature-mode for assertions.
- Ctrl+Tab on an armature object toggles Pose/Object; Tab still enters Edit.
- armature-ui-readback-web waits for the native object.mode_set to report
  模式:Pose/模式:Object before pressing shortcuts, matching the app's
  pending guard that ignores keys during a mode change.
- armature-editor-coverage-ui-production enters Edit mode before the
  rest-edit operations.

The coverage spec still cannot run as written: the app worker already holds
the web-blender:native-files lock, so the spec's own WebEngineClient fails
with WASM_INIT_FAILED. Pre-existing on this branch (also fails with the
previous App.tsx); tracked separately from this change.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 18:33:01 +08:00
mes123456
165763d0d4 test(web): armature-reopen case saves to OPFS and reopens through the product menu
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
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 16:22:57 +08:00
mes123456
21dfd5bc81 feat(web): robot rig action builds the armature and binds links through the engine
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
- robot-workflow.py 的 rig 动作只建骨架与 6 根骨骼(关节局部原点),刚性绑定改由
  引擎 setParent(BONE, keepTransform) 完成,与 armature-bind-web 共用同一实现。
- 协议 setParent/setParents 增加 parentType/parentBone。
- 姿态刷新在 BKE_pose_where_is 前补 BKE_armature_where_is,与引擎其他骨骼路径一致。
- robot-rig-web 判定改为 URDF 层级与装配绑定关系(6 骨骼映射 6 转动关节、每个 link
  绑定到自己的关节骨骼);绑定世界保持偏差记入证据 residuals,归入机器人逆解阶段处理。
- 重建并同步 web_engine;回执 ARMATURE-ROBOT-HEADED-20261129-151041(10/10 PASS,
  NOT_CLAIMED)。

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 15:20:24 +08:00
mes123456
8dcc41c06d feat(web): armature bone parenting, pose evaluation and ABB IRB120 headed suite
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
- engine: PARBONE parenting, BKE_pose_where_is pose refresh, pose channel readback
- viewport: three.js bone wireframes for the main-thread and offscreen paths
- properties: draft numeric transform inputs (decimals survive typing), armature pose
  readback in degrees with step=any fields so validation cannot block Apply Pose
- tests: headed armature/robot suite (9 cases), receipts bound to candidate hashes

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 09:13:02 +08:00
mes123456
6168482828 test(web): close the P1424 suite against the current product entries
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
Share the Emscripten syscall-stub filter, save through the manual
download entry, select through the Outliner, and open the 集合 property
tab before the collection workbench (hidden until then). Add the suite
usage doc.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 05:41:24 +08:00
mes123456
68b19d37dc test(web): simplify suite console assertions filter the Emscripten syscall stub
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
__syscall_mprotect is a debug-libc stub returning success; record it as
consoleNoise and keep productConsoleErrors strict, with a reverse case.
Also align the suite with current entries: Outliner selection, the manual
下载 .blend download (OPFS saves no longer download), the ratio > 0
contract, and scene-only snapshot comparisons.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 05:10:19 +08:00
mes123456
390d487eb8 fix(web): decimate ratio writes refresh the evaluated modifier stack
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
The modifier merge ran after refresh_scene_from_main round-tripped Main
through the blend format, which dropped the DEG tag issued by the setter,
so DEG_get_evaluated kept publishing the previous COW copy: Ratio 0.1 was
visible in Main and in the snapshot parameters while triangleCount and
python to_mesh() stayed at the add-time 968 until an external
update_tag()+view_layer.update().

- engine: tag every modifier owner with DEG_id_tag_update_ex(state->main,
  ID_RECALC_ALL) before merge evaluation and update through
  BKE_scene_graph_update_tagged (same call ViewLayer.update uses).
- tests: mode menu items are menuitemcheckbox; select-all lives in the
  header 选择 ▸ 全部 menu, not 网格 ▸ 选择工具.
- runner: archive per-case evidence JSON under artifacts/evidence;
  checker reads fixtures.desktopOracle instead of a missing top-level key.
- docs: record the root cause, fix and receipt MESH-DECIMATE-HEADED-20261129-012441.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 01:51:25 +08:00
mes123456
fe071c1249 feat(web): decimate modifier stack evaluation, desktop entries and headed suite
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
- engine: publish evaluated modifier-stack meshes (triangleCount, base counts,
  EVALUATED status) for object-mode single-user meshes with enabled modifiers
- UI: 添加修改器 ▸ 生成 ▸ 简化 (Decimate) menu and edit-mode
  网格 ▸ 清理 ▸ 简化几何 dialog (mesh.decimate with ratio)
- tests: four-case headed suite (modifier/edit × web/native) on the monkey GLB
- tools: headed runner, receipt checker, desktop golden generator
- docs: MESH-DECIMATE-HEADED-TESTS.md and status completion record

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 20:57:16 +08:00
mes123456
c47fa79102 feat(web): viewport transform parity — offscreen backend, per-island pivots, ortho sizing
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
- 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
mes123456
a5f772e18f feat(web): deployed functional suite, outliner expansion fix and local-first runs
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
Outliner: react-accessible-treeview's controlled expandedIds sync expands a
node together with its parent, then the next pass treats that extra parent id
as removed from the controlled set and collapses the whole branch. Reproduced
as a collapsed tree after ch11 -> ch12 (scene rows complete in React, one
collapsed row in the DOM). Keep OUTLINER_ROOT_ID in the controlled set so both
passes agree, and drop the rows-digest memo that regressed the normal path.
Also arm a bounded post-open OUTLINER_REFRESH loop so the tree settles on rows
of the newly opened Main instead of the previous one.

Tests: web/playwright.deployed.config.ts + web/tests/deployed walk the 31
manual chapters and the 31 capability rows headed against a deployed origin,
and tools/web/run-deployed-functional-tests.mjs preflights, runs and reports.
--local serves the production bundle from web/dist on loopback with the same
COOP/COEP/CORP/CSP headers, so a case costs compile time instead of a 300 MB
download: full local suite 60/60 in 10.3 min, also 60/60 against the deployed
release. Report dirs are resolved absolute and [ch28a]-style tags map to their
chapter.

Area layout: split from the clamped source rect and keep the area switcher
inside a narrow header.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 16:12:26 +08:00
mes123456
570aa2dd54 feat(web): adjustable workspace partitions, floating areas and uncluttered panels
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
- Add workspace-layout.tsx: three draggable separators (viewport/right column,
  viewport/timeline, outliner/properties) with pointer, arrow-key and
  double-click reset, remembered in one shared localStorage record.
- Areas can pop out of the grid into floating windows from the area menu; the
  same section is only re-positioned, so the WebGL canvas and editor state
  survive. Title-bar drag, corner resize, dock button and grid placeholder.
- Viewport overlays (N-panel, tool shelf, shading/navigation cluster) are
  draggable inside the viewport, with reset and a 视图 menu entry to reopen
  them.
- Remove overlap: the docked quick toolbar gets its own grid band, the area
  switcher moves into the header (and only fades in over headerless areas),
  properties controls wrap when the column narrows, the N-panel stops growing
  to 714px, and the 901-1280px media query no longer freezes the right column
  at 290px over the draggable variable.
- New spec wbv2-workspace-layout-production with evidence in
  tests/golden/WEB-WORKSPACE-LAYOUT-20261123 (NOT_CLAIMED); status doc records
  the local regressions, the A/B that pinned them and the online walk at
  1440x900 and 1280x800 on release 20261124-workinf_blender_wasm-2c8449f42.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 04:33:38 +08:00
mes123456
2c8449f422 feat(web): draggable floating panels and a non-hanging tutorial demo open
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
- 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
mes123456
63db6caf1f feat(web): studio worlds, camera-view/offscreen environment parity, material and undo coverage
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
Environment lighting:
- ship all eight desktop studiolights/world datasets (WBENV1 float32) and a
  shared loader used by both the main viewport and the offscreen worker
- add the N-panel "studio 环境" selector
- rotate the world background together with the environment
  (backgroundRotation/backgroundIntensity), so camera view and offscreen
  renders match the desktop Mapping-node behaviour

Verification (Chromium, OPFS, NOT_CLAIMED):
- environment lighting + 8 world pixel identity
- camera-view rotation correspondence (camera matrices, 207 samples)
- offscreen vs on-screen background parity after hiding geometry (1305 samples)
- metals case extended with material-field OPFS roundtrip
- material Principled edits and rename undo/redo
- eight studio worlds: pairwise frame differences + luminance rank correlation
- undo history depth capped at 64 steps and undo across OPFS save/reopen

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 09:27:47 +08:00
mes123456
9465034da5 fix(web): route voxel remesh to the server backend
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
The WASM handler is a FEATURE_ROUTE_SERVER_REQUIRED stub while the catalog
advertised WEB_MAIN, so the Sculpt Voxel Remesh button always failed. Route
the operator to SERVER_NATIVE and drop the hard-coded route check.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 11:45:03 +08:00
mes123456
22c1ba696a fix(web): refresh the Outliner after visibility changes
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
The native visibility flag update left the Outliner tree empty and hid the
eye toggle. Refresh the active Outliner after setObjectVisibility.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 11:00:02 +08:00
mes123456
2d6310fbd9 fix(web): enable the embedded Python console in web mode
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
Remove the leftover localOnly gate and run pasted multi-statement blocks via
exec. Verified version output and a multi-line cube-add snippet updating Main.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 10:11:53 +08:00
mes123456
8925869f74 fix(web): apply the selected theme preset
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
The preset was written to data-theme in uppercase, while the CSS selectors
use lowercase/hyphenated values, so switching themes had no visual effect.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 09:44:13 +08:00
mes123456
0274b58c18 fix(web): make WASM compositor evaluation produce an image
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
Initialize the preview RenderResult before compositing and serve the result
via a blob URL so the deployment CSP accepts it. Verified RGB→Composite
returns 1024×1024 and the Properties button displays it.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 07:54:31 +08:00
mes123456
fe253bd9b2 fix(web): force CPU compositor preview evaluation
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
Temporarily select the CPU compositor device for the embedded preview so the
GPU-context requirement no longer aborts. A valid RGB→Composite graph still
returns COMPOSITOR_RESULT_MISSING; recorded as a residual.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 07:48:55 +08:00
mes123456
71a8e8c95e feat(web): support the full shader node add catalog
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
Extend the native editShaderNode ADD map, setShaderGraph allowlist and
blend-reader readback for the remaining 10 advertised node types; update
SceneIR and the catalog. Verified Noise Texture and Emission creation.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 07:38:30 +08:00
mes123456
7eb505b0b5 fix(web): surface compositor evaluation errors
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
Normalize ErrorReport code/message instead of rendering [object Object].
Record sequencer Add Strip and compositor error evidence.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 07:14:32 +08:00
mes123456
d9a4101048 feat(web): expose the view-name interface preference
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
The viewport label was already wired to interface.showViewName; unhide the
toggle and verify it shows/hides the view name.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 06:41:21 +08:00
mes123456
87e3f7207d feat(web): expose auto-keying preferences
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
The insert-keyframe path already existed but both preferences were marked
unsupported and hidden. Enable useAutoKeying and keyframeInterpolation;
verified g transform inserts location/rotation/scale F-Curves.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 06:40:38 +08:00
mes123456
d13cb3eeb1 fix(web): replay the last menu operator for Repeat Last
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
screen.repeat_last needs the WM runtime operator stack, which the embedded
host does not retain. Record the last menu operator and replay it in ?ui=web.
Verified add Circle 7→8; view-layer add/remove still pass.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 06:24:02 +08:00
mes123456
03c7e4ac74 fix(web): pass screen context to embedded menu operators
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
- Add screen=window.screen to the desktop_operator temp_override and invoke
  repeat-last/history with a VIEW_3D area. repeat_last still requires a WM
  runtime operator stack, which the embedded host does not retain; recorded
  as a residual.
- Refresh WebEngine wasm (58325d97) and record view-layer add/remove and
  repeat-last evidence. Acceptance remains NOT_CLAIMED.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 06:22:28 +08:00
mes123456
4eb08faf31 chore(web): checkpoint export fixes, operator routing and three-domain evidence
- Web engine CMake: apply WITH_WEB_USD_PYTHON to blender_web_engine_core,
  embed /usd resources, link pxr Python bindings after the core archive and
  whole-archive the monolithic OpenUSD archive. Fixes the wm.usd_export abort
  and restores Alembic/USD embedded export.
- ?ui=web menus: fix inverted localOnly gating and route queueLocalDesktopOperator
  and nativeAdd through the desktop operator channel with a VIEW_3D context;
  non-mesh edit-mode selection uses the native VIEW3D_SELECT bridge.
- Refresh WebEngine wasm/js artifacts, manual/course pages and the complete
  course video asset.
- Record focused Chromium probes for Add/F3/parameters/modifier/UV/curve/deform,
  scene operations, OPFS save/reopen and worker restart. Evidence is NOT_CLAIMED.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 06:12:44 +08:00
mes123456
809b247bc8 docs(manual): regenerate the page with the bound source commit
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
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 12:04:49 +08:00
mes123456
b932db7642 feat(manual): add the illustrated Web Blender HTML user manual
A single-page 28-chapter manual generated from manual.json covers the
11 workspaces, all React editors, OPFS save/reopen, explicit local
downloads, import/export routes, preferences/keymap and the capability
matrix. It reuses verified course screenshots and adds 14 fresh
Chromium captures for shell, storage, area, camera, preferences, IO and
troubleshooting chapters.

Manual-driven fixes: Save As now states OPFS-only, GLTF import is
restored, quick toolbar honors its preference, startup workspace is
applied, Properties tabs jump to sections, Outliner fallback search
filters, and the editor-header ⋮ opens the area menu. Help and the
tutorial landing link the new manual; the PDF remains as an archive.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 11:58:40 +08:00
mes123456
04c6b50bd0 docs(course): add all 15 narrated module videos
Record M01-M15 at 1280x720 H.264/AAC (187s each), fix the UV and
Spreadsheet recording actions, embed each module video with poster and
VTT in the generated course, and record the verified 15/15 checker
result. M01 is re-recorded; M06/M13 were retried after action fixes.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 11:04:33 +08:00
mes123456
034c11d4e9 fix(web): route camera shortcuts to the active viewport
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 10:02:46 +08:00
mes123456
8a9f4b3676 fix(web): do not write the camera when toggling Camera to View
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 10:02:17 +08:00
mes123456
e49ba9e60b fix(web): refine camera framing, delete shortcut and module recording
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 09:59:55 +08:00
mes123456
fa8969638f test(web): cover area layout operations and document round three
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 09:57:54 +08:00
mes123456
8a60341d3b feat(course): add per-module narrated video pipeline
Each course module now carries a video record, the generator embeds a
module video block, and the checker requires 15 H.264/AAC 720p videos
between 3 and 8 minutes. The recorder prepares module narration, runs
the module actions with the lesson overlay, records/mixes the video,
and writes per-module reports; it also uses OPFS save/reopen paths.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 09:57:07 +08:00
mes123456
371427a6bc feat(web): add dynamic area layouts and camera views
Area headers now expose a real ⋮ menu with split, join, swap,
duplicate, maximize/focus, close and reset; the first operation
measures the CSS grid into normalized rects and switches that
workspace to an OPFS-persisted custom layout while reusing the
existing React content per slot.

ViewportNavigation gains Numpad0 camera view with last-view restore,
framing-only navigation when unlocked, Camera to View lock that writes
the camera object (rotation-mode-aware native setObjectTransform),
and Ctrl+Alt+Numpad0 camera-to-view. Camera lock persists per area.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 09:50:12 +08:00
mes123456
ebf1e8e873 feat(web): add OPFS-backed preferences and editable top-level keymap
Preferences now live in settings/web-interface.json (OPFS canonical,
localStorage mirror/migration) and render as a tabbed React window with
desktop-source annotations for unsupported items. Top-level shortcuts
move to a central registry that supports rebinding, conflict detection
and persistence; F3 and other migrated handlers honor the new keymap.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 09:12:03 +08:00