Commit Graph

250 Commits

Author SHA1 Message Date
mes123456
11a69f6354 feat(web): bind Clip acceptance receipts to a frozen candidate
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
run-clip-headed.mjs --freeze hardlink-snapshots the served source tree into
web/.frozen/CLIP-<stamp>-<wasm8> with a sha256 manifest; --candidate refuses a
tree that does not verify, and the Playwright config serves the frozen root.
Receipts record servedBy, servedRoot, frozenAt and the manifest sha256, and
check-clip-headed.mjs re-verifies them against disk.

The full suite passes 28/28 on the frozen candidate
(tests/golden/CLIP-HEADED-20261204-155221, wasm 3c81eb06, manifest 695b50c0);
release acceptance stays NOT_CLAIMED.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-04 16:09:13 +08:00
mes123456
b358b4bdeb feat(web): close the Clip residuals — undistortion, track colour copy, plane auto-keying
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 clipFrame command takes an undistort flag, honoured only for full-frame
reads to mirror need_undistortion_postprocess, so the engine applies
BKE_tracking_distortion_exec on the fly. The reader exports every distortion
model's coefficients and the Camera Data panel edits focal, sensor, model and
the active model's fields (display rounded past the DNA float32 noise).
CLIP_OT_track_copy_color gets its panel button, and plane use_auto_keying
round-trips with an off-path that re-derives the plane from point-track
motion instead of keying.

The headed suite grows to 26 Clip cases with [clip-undistort] (border-
concentrated pixel difference plus a zeroed-coefficient identity check) and
the extended copy-colour/auto-keying assertions: 28/28 PASS, receipt
tests/golden/CLIP-HEADED-20261204-124651, wasm 3c81eb06. Acceptance stays
NOT_CLAIMED.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-04 13:47:00 +08:00
mes123456
1660a64d75 feat(web): close the Clip residuals — graph parity, stab pixel assertion, point-motion, track panel
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
- ClipGraphView follows clip_graph_draw.cc/space_clip.cc: curves in the View2D
  data rect (scene frames 0..efra, values -10..10), active-track 2px/opaque vs
  1px/50%, knots only for the active track on SPEED_X/SPEED_Y; clip-graph now
  asserts every knot against that mapping within 0.6px.
- Fix the knot <title> crash from referencing `curve` outside its map scope,
  which threw on every render with a selected track and stalled graph refresh.
- clip-stab-composite: pixel-level stabilized composite reference test; caught
  the column-major matrix translation being read from slots 3/7 instead of
  12/13 in the canvas and pointer mapping.
- tracking-mask.ts accepts pattern corners within -4..4, matching the engine's
  clamp for out-of-frame patterns.
- New headed cases: clip-track-panel (scopes preview, colour presets, average
  error), clip-point-motion (opens synthetic-point-motion.blend).
- Headed suite 27/27 PASS, receipt tests/golden/CLIP-HEADED-20261204-082003,
  check-clip-headed status PASS, acceptance NOT_CLAIMED.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-04 08:28:34 +08:00
mes123456
012e857edf feat(web): complete the Clip subsystem and pass the headed acceptance 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
- Reader: real blend block bases win over synthesized interior array
  addresses, fixing post-detect track truncation (19 exported vs 60 in Main).
- Track color reads DNA float[3] with an alpha pad; bpy writes 3 components
  because RNA PROP_COLOR_GAMMA has no alpha.
- Clamp track weight and weight_stab to the RNA 0..1 factor range.
- Read the scene frame range from scenes[0].renderSettings.
- Mask status phases poll with a stall-tolerant loop instead of expect.poll,
  which fails the whole run when one DOM query stalls during engine persist.
- Continuation and module coverage record the 24/24 PASS receipt
  (tests/golden/CLIP-HEADED-20261204-052513); acceptance stays NOT_CLAIMED.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-04 05:35:52 +08:00
mes123456
a42073c09e fix(web): compare the NLA stack base revision
setNLAStack declared an optional baseRevision that the Worker never
compared, so a stale tab replaced the whole NLA stack without a
conflict. It now compares a supplied baseRevision against the current
SceneIR and reports REVISION_CONFLICT when it is stale or not a safe
integer; an absent revision stays allowed under the declared optional
policy. This leaves no command in the contract's unchecked set.

The Chromium probe confirms a stale submission is rejected, an absent one
and a fresh one are accepted, and the track count survives.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 21:17:21 +08:00
mes123456
192b13901d fix(web): reject stale sequencer transition timelines
setSequencerTransitions parsed the submitted timeline without comparing
timeline.revision, so a stale submission replaced the sequencer timeline
instead of conflicting. It now compares timeline.revision against the
current SceneIR and reports REVISION_CONFLICT, which is the check
setSequencerStrips already makes. The revision contract moves the command
out of the unchecked set, and the authoring probe takes its timeline from
a snapshot read after its edits and records a stale submission next to an
accepted one.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 20:12:37 +08:00
mes123456
09f23163c7 fix(web): reject stale AOV and lightgroup revision submissions
setSceneViewLayerAOVs and setSceneViewLayerLightgroups declared an
optional baseRevision that the Worker never compared, so a stale tab
overwrote AOV and lightgroup edits without a conflict. Both now compare
a supplied baseRevision against the current SceneIR and report
REVISION_CONFLICT when it is stale or not a safe integer; an absent
revision stays allowed, which matches the optional policy they declare.

The revision contract moves the pair out of the unchecked set, and the
Chromium probe confirms a stale submission leaves the rows untouched.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 19:01:17 +08:00
mes123456
d5f77487d0 fix(web): draw the Outliner only where the native workspace has one
The Rendering workspace rendered an Outliner panel whose tree was always
empty. Desktop's Rendering screen holds Properties, Dope Sheet and Image
Editor with no Outliner, and the engine exports Outliner rows for the
active workspace only, so a panel there could never fill. The panel now
follows the native workspace areas: Rendering draws none, every other
workspace keeps its rows.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 18:23:38 +08:00
mes123456
2b10cd3197 fix(web): settle each Outliner expand before the next toggle
The armature panel case failed ten headed reruns because the fixture's
expand loop clicked a label list scanned before earlier replies landed:
it re-clicked rows the reply had just opened and closed them again, so
each round flipped the same rows and the loop never settled. Re-read
each row's own label before clicking and wait for that toggle to reach
the tree; no timeout budget changes.

The armature row was never missing from the tree. It hangs under its
parent ScaledRigParent one level deeper, exactly as desktop
make_object_parent_hierarchy_collections builds it. Correct the known
limitations and module coverage entries, and keep the resolved gap rows
so the history and its evidence stay traceable.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 17:44:11 +08:00
mes123456
45b0f9ec74 docs(web): record the armature panel rerun measurement
Ten headed hardware reruns of the armature panel case all failed the same assertion: the Outliner has no row for the armature object even though Main reports it as the active object. The bullet no longer describes an intermittent flake, and the anchor gate pins the measured wording.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 13:47:31 +08:00
mes123456
99d062128a docs(web): freeze residual Outliner evidence gaps in the known limitations
Record three residual gaps so completing the Outliner parity plan does not
bury them: the armature headed case fails intermittently (5/6), revision
conflicts are checked per command instead of one shared contract, and the
keyframe evidence stays PARTIAL because the tree exposes no count.

Four exact anchors are added to the RC gate so the entries cannot be
silently dropped from the release-facing document.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 12:31:29 +08:00
mes123456
801145ae29 feat(web): Outliner keyboard map runs the desktop navigation, hide and keyframe operators
- Shift+Left/Right follow outliner.select_walk direction semantics: the
  keyboard passes the open state explicitly (outliner_walk_left/right)
  instead of reusing the mouse-chevron state guess.
- PageUp/PageDown run OUTLINER_OT_scroll_page; H/Alt+H run
  OUTLINER_OT_hide/unhide_all through a new OUTLINER_RESTRICT_OPERATION.
- K/I/Alt+I drive the native keying-set and keyframe operators; the case
  walks the desktop Data API route (select an RNA row, K builds the set,
  the inserted action appears under Actions) instead of relying on the
  auto-keying fallback that Alt+I cannot delete through.
- Cases [outliner-keyboard-parity-web] and [outliner-keyframe-keys-web].

Headed suite 48/48, validator PASS, treeview candidate 2/2, armature
dev-server 5/6 (pre-existing failure, unchanged).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 09:38:14 +08:00
mes123456
dcfcd313d2 feat(web): Outliner rows draw the desktop library and override markers
- Engine rows carry libraryIcon mirroring ui::icon_from_library (DIRECT,
  INDIRECT, PACKAGE, PACKAGE_INDIRECT, BROKEN, OVERRIDE,
  OVERRIDE_NONEDITABLE, ASSET), limited to the element types desktop draws
  markers for (TSE_ID_BASE rows in Unused Data carry no ID pointer).
- The protocol decodes libraryIcon and maps empty markers to null; rows render
  the badge after the name with an accessible label.
- New headed case [outliner-linked-icons-web]; full headed suite 46/46,
  validator PASS.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 08:04:28 +08:00
mes123456
6ec61b4841 feat(web): Outliner object and collection rows open the desktop menus
- Rebuild the row menus from shared builders following space_outliner.py:
  OUTLINER_MT_object (Copy/Paste | Delete | Select* | Unlink/New Collection |
  ID Data | common groups) and OUTLINER_MT_collection (New/Duplicate/Copy/
  Paste | Delete | Select Objects | Instance/Unlink | Visibility | View Layer
  | Color Tag | ID Data | common groups).
- The ID Data, visibility, view layer, color tag, asset, library override and
  view submenus are shared by the row-type menus and the empty-area menu; the
  asset entries are inlined like draw_common_operators' menu_contents, and the
  library override operations now nest under their desktop submenu.
- Top-level Copy/Paste dispatch OUTLINER_OT_id_copy/id_paste; the ID Data
  submenu keeps its enum entries.
- New headed case [outliner-menu-structure-web]; separator and submenu
  expectations updated. Full headed suite 45/45, validator PASS.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 07:00:49 +08:00
mes123456
886a3787d7 feat(web): Outliner row-type menus cover libraries, scenes and empty space
- Engine rows carry library/scene kinds and route ID_LI rows to
  OUTLINER_OT_lib_operation (DELETE/RELOAD/RELOCATE) and Scene rows to
  OUTLINER_OT_scene_operation DELETE, reusing the staged relocate channel.
- The Data menu dispatches per row type; the empty-area context menu offers
  New Collection/Paste Data-Blocks plus the asset, override and view groups;
  id_paste no longer requires a row.
- The outliner filter popover floats at body level, anchored under the
  toolbar row, so it no longer grows the area's scroll box or covers the
  clear-search button.
- Headed case [outliner-row-type-menus-web]; full headed suite 44/44.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 06:16:41 +08:00
mes123456
44ce5cf402 feat(web): Outliner header exposes the desktop controls and drops the web-only ones
LIBRARIES/ORPHAN_DATA gain the ID-type filter, LIBRARY_OVERRIDES the
lib_override_view_mode selector, VIEW_LAYER the header collection_new
button, ORPHAN_DATA Purge, and DATA_API the keying-set selector with
keyframe insert/delete. The web-only refresh and select/clear/invert/
toggle buttons are removed; selection stays on the keyboard.

The active filter_id_type stays in the ID-type menu after opening a file
whose Main has no data of that type, matching rna_enum_id_type_items,
so the snapshot decoder no longer rejects the open.

Headed case [outliner-header-controls-web] passes; full outliner suite
43/43.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 04:23:53 +08:00
mes123456
8173426da2 feat(web): Outliner filter popover exposes the desktop Options, Search and Filter fields
The popover now writes the native SpaceOutliner fields the desktop
OUTLINER_PT_filter panels expose: per-type object toggles (mesh,
armature, light, camera, grease pencil, empty, others), System
Overrides, exact match and case sensitivity, the five-state object
filter with the shared invert, Object Contents / Object Children,
sort alphabetically, scroll to active and the mode column gate.

Engine OUTLINER_SET_FILTER writes SO_FILTER_NO_OB_* +
SO_FILTER_SHOW_SYSTEM_OVERRIDES + SO_MODE_COLUMN + SO_SCROLL_TO_ACTIVE,
and the snapshot carries the flags plus the Main-derived type
availability so the controls follow the data like bpy.data.

Headed case [outliner-filter-options-web] drives all three panels and
verifies the engine round trip; existing filter cases use the new state
selector.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 16:52:56 +08:00
mes123456
32d9f000f2 feat(web): Outliner Data menu exposes the library override Troubleshoot operations
Desktop OUTLINER_MT_liboverride draws Make/Reset/Clear, a separator, then a
Troubleshoot enum menu (space_outliner.py) that runs
OUTLINER_OT_liboverride_troubleshoot_operation with selection_set=SELECTED:
Resync / Resync Enforce | Delete. Override rows now get the same submenu; the
web entry dispatches OUTLINER_LIBOVERRIDE_TROUBLESHOOT to the engine, which
sets the desktop type enum and executes the native operator in the outliner
context, reporting 已重同步库覆盖 / 已强制重同步库覆盖 / 已删除库覆盖层级.

Verified: headed [outliner-liboverride-troubleshoot-web] plus the full
Outliner headed suite 41/41, check-outliner-headed PASS, and the
outliner-treeview-production regression. armature-editor-coverage-ui still
fails only on the pre-existing PoseConstraintArmatureObject row timeout.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 14:13:57 +08:00
mes123456
0ec223e2a1 feat(web): Outliner Data menu relocates linked data-blocks
Desktop OUTLINER_MT_id_data ends with a separator and a Relocate entry
(space_outliner.py:191) that runs OUTLINER_OT_id_linked_relocate. The web
Outliner now offers the same entry for linked rows and runs the native
chain: the hidden .blend picker stages the chosen library through a new
outlinerRelocateUpload worker request, then the engine edit channel
composes "<file>.blend/<ID type>/<ID name>" and executes
WM_OT_id_linked_relocate directly, with the invoke checks
(linked + linkable type + not indirectly used) mirrored first.

Also fixes two defects the case exposed: OUTLINER_RELOCATE was missing
from the revision-rebase list, so it dispatched with a stale baseRevision
(REVISION_CONFLICT, silently dropped), and the bounded post-open
OUTLINER_REFRESH loop overwrote the relocate feedback with the SceneIR
status; rebuild-only refreshes now keep the last report like the desktop
tree redraw does.

Verified: headed [outliner-relocate-web] plus the full Outliner headed
suite 40/40, check-outliner-headed PASS, outliner-treeview-production
regression passed. armature-editor-coverage-ui-production still fails on
the pre-existing PoseConstraintArmatureObject row timeout proven by the
stash A/B in the menu-separator batch.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 13:34:06 +08:00
mes123456
325761f05d feat(web): Outliner Data menu groups items with desktop separators
Desktop space_outliner.py separates the collection/ID menu into groups
(New/Duplicate | Delete | Select Objects | Instance/Unlink | Visibility |
View Layer | Color Tag | ID Data | assets | overrides | view). The web
Data menu drew every entry in one flat block; insert separators at those
boundaries without adding or removing any operation.

Headed case [outliner-menu-separators-web] asserts the separator count,
the eight group boundaries and that the ID Data submenu keeps its own
two separators. Full headed suite 39/39 PASS, receipt validator PASS.
Treeview regression PASS; the armature fixture load failure reproduces
identically with the pre-change App.tsx (environment timing, not this
batch).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 11:04:07 +08:00
mes123456
d75cfad405 feat(web): Outliner Data menu nests the ID operations under ID Data
Desktop OUTLINER_MT_id_data draws the outliner.id_operation enum (Unlink,
Make Local, Make Single User, Remap Users | Copy, Paste | Add/Clear Fake
User, Rename, Select Linked) as a submenu of the object and collection
menus (space_outliner.py). The flat entries move into it, the Add/Clear
Fake User entries join them, and the clipboard, Make Local and Select
Linked cases now navigate through the submenu.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 10:20:51 +08:00
mes123456
32af2a256d feat(web): Outliner filter popover exposes the Collections and Objects toggles
The engine already maps showCollections/showObjects onto SO_FILTER_NO_COLLECTION
and SO_FILTER_NO_OBJECT (OUTLINER_SET_FILTER); the popover now renders both
checkboxes, and the Data menu hides Unlink in View Layer mode while the
Collections filter is off, matching space_outliner.py. The filter case counts
the two new toggles.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 09:37:53 +08:00
mes123456
25dccb1dc6 feat(web): hide the Outliner View Layer submenu outside View Layer mode
space_outliner.py draws OUTLINER_MT_collection_view_layer only when
space.display_mode == 'VIEW_LAYER'; the web Data menu now follows, so the
submenu disappears in Blender File and Data API modes. The headed case
checks both modes against the Parts collection row.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 08:56:05 +08:00
mes123456
7491ef692c feat(web): Outliner header exposes the Data API Edit menu
OUTLINER_MT_edit_datablocks (keying-set and driver operators) is drawn in
the desktop Outliner header only in Data API mode; the new channel runs
keyingset_add/remove_selected and drivers_add/delete_selected over the
selected RNA rows. The headed case adds the Location property to a keying
set and removes it again.

The UI fixture now waits for the Outliner rows to go quiet after the
open-time expansion burst before selecting a row: rapid expand clicks
re-render the rows and detached the selection click mid-action.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 08:31:23 +08:00
mes123456
af37234a39 feat(web): Outliner Data menu selects objects linked to a data-block
OUTLINER_IDOP_SELECT_LINKED joins the id-operation channel; the headed case
clears Payload's selection, runs Select Linked on its mesh in Blender File
mode, and confirms the View Layer row turns selected again.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 07:51:17 +08:00
mes123456
699535b1de feat(web): Outliner Data menu links collections to the scene
OUTLINER_OT_collection_link is offered outside View Layer mode; the headed
case reaches it through the Blender File display mode, where collection rows
are real ID elements (Data API builds RNA struct rows without IDs). The new
case checks that linking Parts adds a second View Layer occurrence.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 06:55:49 +08:00
mes123456
e09f3f0f45 feat(web): Outliner Data menu exposes the collection view-layer operators
Desktop OUTLINER_MT_collection_view_layer's exclude/holdout entries now run
OUTLINER_OT_collection_exclude_set/clear and collection_holdout_set/clear on
the selected layer collections; the Cycles-only indirect-only entries are
gated on the active scene's render engine, like the desktop menu.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 06:24:16 +08:00
mes123456
21f3efbf90 feat(web): Outliner Data menu exposes the collection visibility operators
Desktop OUTLINER_MT_collection_visibility's entries now run the native
isolate/show/hide, show-all-inside/hide-all-inside and enable/disable
viewport/render collection operators on the selected collections, with the
state-dependent entries gated the way their desktop polls gate them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 05:55:09 +08:00
mes123456
1e2f206f2e feat(web): Outliner Data menu reveals the active object
Desktop OUTLINER_MT_context_menu_view's Show Active runs
OUTLINER_OT_show_active on the native tree; the web tree then scrolls the
active object's row into view since the list is DOM-rendered.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 05:33:49 +08:00
mes123456
07f7c842b8 feat(web): Outliner Data menu runs the desktop View operators
Desktop OUTLINER_MT_context_menu_view's Expand/Collapse All, Show Hierarchy
and Show One Level now run OUTLINER_OT_expanded_toggle, show_hierarchy and
show_one_level[open] on the native tree store through an
OUTLINER_VIEW_OPERATION editor-context action.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 05:19:07 +08:00
mes123456
f73318acfa feat(web): Outliner Data menu tags collections with desktop colors
Desktop OUTLINER_MT_collection draws the outliner.collection_color_tag_set
color strip; the row now exposes Collection.color_tag (NONE = -1, COLOR_01
.. COLOR_08 = 0..7) and the tree draws a tagged collection's diamond in the
default theme palette.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 04:30:42 +08:00
mes123456
7f6886e785 feat(web): Outliner Data menu instances a collection into the scene
Desktop OUTLINER_MT_collection's Instance to Scene runs
OUTLINER_OT_collection_instance, which adds an empty object named after the
selected collection with instance_collection set.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 04:09:30 +08:00
mes123456
27a36ad0b6 feat(web): Outliner Data menu duplicates a collection
Desktop OUTLINER_MT_collection's Duplicate Collection and Duplicate Linked
run OUTLINER_OT_collection_duplicate[_linked], which recursively duplicate
the selected collection's children, objects and object data through
BKE_collection_duplicate.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 03:58:09 +08:00
mes123456
6964f48680 feat(web): Outliner Data menu selects and deselects a row's object
Desktop OUTLINER_MT_object Select/Deselect run OUTLINER_OT_object_operation
with type SELECT/DESELECT over every selected object row, and the
context-menu press keeps an already selected row selected
(do_outliner_operation_event always passes OL_ITEM_SELECT).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 03:44:29 +08:00
mes123456
65bd98d4e5 feat(web): Outliner Data menu selects a collection's objects
Wire the desktop OUTLINER_OT_collection_objects_select/deselect pair into
the Data menu for collection rows. The engine call site now copies the
operator idname the way wm_operator_create does, so the shared exec reads
the right branch and Deselect really deselects; the two operations also
join the id-operation whitelist, protocol union, worker gate and feedback
messages.

Headed case [outliner-collection-select-web] opens Mount (Payload and
KeyLight nest under their parent row like the desktop tree), checks the
fixture's initial Payload selection, then deselects, re-selects and
deselects Parts' objects through data-selected on the rows.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 03:15:57 +08:00
mes123456
35a906d1a8 feat(web): Outliner Data menu creates nested collections
Route the Data menu's 新建集合 through OUTLINER_OT_collection_new with
nested=True (OUTLINER_MT_collection), so the new collection is added under
the collection selected in the tree, inheriting its color tag, and falls
back to the master collection for object rows, matching
outliner_collections.cc collection_new_exec.

Headed case [outliner-collection-new-web] creates a nested collection from
the Scene Collection row and checks the row count grows; receipt
OUTLINER-HEADED-20261201-023112 NOT_CLAIMED (23/23).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 02:35:50 +08:00
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
mes123456
f1565f2611 feat(web): Outliner Data menu selects object hierarchies
The Data menu gains 选择层级 (Select Hierarchy), driving
OUTLINER_OT_object_operation type=SELECT_HIERARCHY from the native
edit channel so the active Outliner row's object and every child
underneath it become selected, exactly like desktop Blender 5.2.0
(outliner_tools.cc:2799-2814, object_select_hierarchy_fn 952-964).

- web_engine_main_state.cpp: SELECT_HIERARCHY accepted on the edit
  channel, mapped to OUTLINER_OT_object_operation with type set,
  feedback 已选择层级.
- protocol/worker/App: new operation in both unions, worker whitelist
  plus an objectId row gate, menu item disabled without an object.
- headed case [outliner-select-hierarchy-web] on
  hierarchy_simplify_combined.blend: right-click RootRig, run 选择层级,
  assert RootRig + InspectionCamera + Mount + KeyLight + Payload are
  aria-selected; full suite 21/21 PASS, receipt
  OUTLINER-HEADED-20261201-014359 (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 01:50:38 +08:00
mes123456
43ce2793d8 feat(web): Outliner Data menu makes linked data-blocks local
Desktop exposes Make Local through OUTLINER_OT_id_operation's LOCAL type
(outliner_tools.cc prop_id_operation_types). The Data menu now carries
本地化 (Make Local), enabled only for linked rows, and the engine maps it
to type=LOCAL so the operator copies the linked ID into the current file
the way the desktop Selected entry does.

The headed case opens the link fixture through the library recovery
dialog, seeds the selection from the View Layer row, runs Make Local, and
asserts the object moves from the library group into Current File.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 01:01:07 +08:00
mes123456
014481af4d feat(web): Outliner Data menu resets and clears library overrides
The Data context menu now offers desktop's Library Override entries
(space_outliner.py OUTLINER_MT_liboverride). Rows carry `linked` and
`libraryOverride` from ID_IS_LINKED / ID_IS_OVERRIDE_LIBRARY, so Make
stays disabled on a local override and Reset/Clear stay disabled on a
linked reference. The web entry runs OUTLINER_OT_liboverride_operation
with selection_set=SELECTED and type=OVERRIDE_LIBRARY_RESET/CLEAR_SINGLE,
exactly like the desktop Selected submenu entry.

The headed case opens the linked-library fixture through the product's
library recovery dialog, resets the override, clears it, and asserts the
Current File row disappears once the library original is relinked.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 00:06:10 +08:00
mes123456
b45d060642 feat(web): Outliner Data menu marks and clears assets via asset.mark/asset.clear
The Outliner Data menu now runs the native ASSET_OT_mark / ASSET_OT_clear
operators on the right-clicked row. Their polls read the target from
context, so the engine edit channel exposes the resolved row as the "id"
context member for the duration of the call and restores the previous
store afterwards. Rows also carry assetSupported (desktop
id_type_is_supported) so unsupported ID types keep the menu items disabled
instead of failing after the click, matching the desktop poll.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 22:22:31 +08:00
mes123456
09ed081286 feat(web): Outliner F toggle and Purge run on the native IDs
OUTLINER_OT_orphans_purge plus the fake-user toggle drawn by
outliner_draw.cc restrictbutton_id_user_toggle: ID rows report
fakeUser/users, the F badge writes id_fake_user_set/clear directly
(linked IDs are read-only), and the Data menu offers Purge only in
the Unused Data mode, running the desktop operator with its RNA
defaults. Rows, protocol and worker validation follow the existing
editEditorContext channel.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 20:17:38 +08:00
mes123456
b0458e12de feat(web): Outliner eyedropper picks objects for modifier fields
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>
2026-11-30 17:45:32 +08:00
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
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