Commit Graph

13 Commits

Author SHA1 Message Date
mes123456
716ae05c02 feat(web): Outliner renames armature bones through the native action
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>
2026-11-30 16:30:32 +08:00
mes123456
4d4560e89c feat(web): Outliner mode column toggles objects into the current mode
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 15:29:32 +08:00
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
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
f3e21c6b98 chore: checkpoint web Blender migration source, tools and docs
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
Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer,
web workflow engine and protocol, tooling, docs and task records.
Large generated evidence, user-testing archives, build snapshots and
imported test assets remain untracked.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-10 11:18:01 +08:00
mes123456
46c9ebfcb6 Capture M16 gap execution artifacts
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
2026-08-21 21:09:40 -04:00
mes123456
68d50f810f Advance WebGPU volume and bounded workflows 2026-08-14 18:08:29 -04:00
mes123456
9fd26010f6 Add Chromium-only Blender WebEngine parity work 2026-08-12 04:47:48 -04:00