Desktop's UI_OT_eyedropper_id borrows the ID under the cursor through
ED_outliner_give_base_under_cursor. The workbench splits Properties and
the Outliner into separate DOM trees, so an armed pick is shared through
a small external store: object-valued modifier fields grow a 取物 (pick)
button, the Outliner enters a crosshair pick mode, and clicking an
object row commits that object's id. Escape cancels, mirroring the
modal operator.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Desktop outliner_draw.cc commits F2/double-click renames on bone rows with
ED_armature_bone_rename for TSE_BONE, TSE_EBONE and TSE_POSE_CHANNEL. The web
tree refused those rows because they carry no objectId/remapId, so the engine
now emits kind "bone" for them and a new OUTLINER_RENAME action resolves the
row key back to its bArmature and renames the bone (linked armatures stay
read-only). The Outliner routes bone rows to that action instead of renameId.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
- 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>
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>
__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>
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>
- 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>
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>
- 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>
- 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
- 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>
- 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>
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>
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>