- changeNativeMode reads tool_settings.mesh_select_mode back after entering
edit mode, so F3 "Enter Edit" no longer leaves the app in FACE while the
native session is VERT.
- A gizmo press is now a press-drag-release session like desktop: release
ends the modal (commit when moved, cancel when not), so clicks no longer
leave the transform wireframe stuck and no longer get swallowed.
- Record the two route/method iron rules in AGENTS.md.
Verified headed: after F3 entry the element buttons show VERT and the native
select mode is VERT; a gizmo click clears transformModal/transformWireframe
and keeps the 8/12/6 selection; a mesh click picks one vertex natively
(1/12/6). Acceptance remains NOT_CLAIMED.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Replace the per-pick executeEmbeddedPython selection write with a dedicated
native command: protocol type plus capability/revision registration, and a
BMesh write that sets BM_ELEM_SELECT on the picked element kind only, recounts
the selection counters and syncs through EDBM_update_extern.
Verified headed: clicking a face in edit mode selects exactly that face
(verts 8 / edges 12 / faces 6 -> verts 8 / edges 12 / faces 1) with no
native error. Acceptance remains NOT_CLAIMED.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
two real defects blocked the INDIVIDUAL_ORIGINS path:
- element modal targets carried the mesh data id in their objectId while the
pointer handler resolves nodes by node id, so every pointer move bailed out
and the modal committed an identity transform; element targets now carry the
owning node id like object targets do.
- the native element transform commands wrote only the Mesh datablock, so edit
mode kept its geometry in the BMesh and native operators read stale vertices;
the translate/transform/group commands now mirror the same indices and matrix
into the edit BMesh and refresh its normals.
headed verification on a two-island mesh (centroids [0,0,0] and
[-0.25,-0.25,0]) rotated by 0.125 rad about Z: both island centroids stay
fixed while their vertices rotate about their own centres (island 1 sample
(-1,-1,-1) -> (-0.8675,-1.1169,-1), island 2 (-1.25,-1.25,-1) ->
(-1.1175,-1.3669,-1)), and the edit BMesh matches the Mesh datablock.
wasm 4f68e7da57248cbae70a6740b27c01cd24369dfca1a056faa7745f1f93505687.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
element clicks, box selects and select-all only updated React state, so native
operators and readbacks kept the previous edit-mode selection. the pick handlers
now write the resulting element set into the active BMesh through the existing
embedded-Python route that already carries select_mode and the selection
readback, and keep a ref mirror so a click toggles against the latest set.
verified headed in ?ui=web: entering edit mode then clicking a vertex changes
the native BMesh selection from 8 vertices / 12 edges / 6 faces to 2 / 3 / 1.
the INDIVIDUAL_ORIGINS island path already exists in the transform modal and
commit; its gizmo display and edit-mode native coverage remain open and are
tracked in the inventory.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
desktop Blender never serializes Main per frame; changes come from the undo
stack and WM notifiers. gpuFrame now reports whether notifiers were queued
during its handlers, and the dispatcher judges change from that plus the undo
step and playback flag. a changed frame writes the Main once (220 ms measured)
and reuses those bytes for both the SceneIR read and the history baseline; the
four snapshot merges patch one parsed JSON instead of re-parsing and re-dumping
the string five times (linked-library scenes keep the materialized path).
measured on the 238-object scene: idle/hover frames ~0.13-0.24 s (was 20.8 s);
changed frames ~4.5 s (was ~24 s): read_ir 1.7 s + media merge 2.4 s + modifier
0.14 s + Main write 0.22 s, plus 4.3 s capture near an open. the large-open
readiness and native undo/redo headed cases pass (2.3 min). the remaining
SceneIR projection is tracked as the next item: cache parsed retained media
records and read Main on demand. wasm
945aa11397af721d6fc15fb47927280f5e6190dad45b9702c6606dd7455773b1.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
measurement on the 238-object scene: the native gpuFrame draw path itself
takes 160-200 ms, but every frame cost ~20.8 s because the unified dispatcher
serialized the entire ~13 MB Main before and after each gpuFrame to compare
bytes for change detection. desktop Blender never does that per frame; changes
come from the undo stack and RNA notifiers.
the worker now reports whether a frame carries only non-mutating input (motion,
focus, grab-cancel) and the dispatcher skips both Main writes for those idle
frames, judging change from the native undo step and playback flag instead.
idle and hover frames drop from ~20.8 s to ~0.13-0.24 s; the large-open headed
case still passes (2.4 min). frames carrying press/key/wheel input keep the
byte comparison for now, which is tracked as the next performance item
(change detection via incremental SceneIR/undo signals instead of a full
serialization). wasm 8d398dc4137a52a419975a2587c5c1edc935d01e4132e59d874ea4078390acc0.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
root cause chain, matching desktop semantics: the desktop runs a file load on
the WM thread, so nothing else is dispatched while it runs. the web port sends
pythonExec/viewportObjectAxis while an 85 s open (and a frame posted before it)
still own the worker; those requests pass the 30 s timeout, the client marks
Main uncertain, and every later frame is rejected with "WebEngine Main 状态待恢复"
until the surface stops. the test helper exposeWebTools() also switches to the
web view, idling the pump and producing the old "needs a wake-up" artefact.
fixes:
- client: timeouts of read-only sync commands no longer mark Main uncertain;
only commands that may mutate it do.
- canvas: a frame rejected for Main recovery keeps the pump alive with a bounded
250 ms retry, and the frame carrying a new owner counts as the first
acknowledged frame so readiness returns one round-trip sooner.
- worker: publish the scene only when Main's revision advanced or the frame
carried input; publish geometry only with a revision change and let the app
retain the previous buffers. response payloads drop from 1888 transfers to a
small snapshot instead of a full SceneIR and geometry projection per frame.
regression case: opening the 238-object fixture inside the native view reaches
readiness with no pointer input and consumes a middle-drag; headed run passes
in ~2.4 minutes. acceptance stays NOT_CLAIMED.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
the 3d viewport already recreates its attachments when a WebGL texture loses
live storage, but non-viewport regions only freed their offscreen on a size or
format change, so a lost color attachment could never regain pixels and the
region stayed blank. free and recreate the offscreen when its storage is gone,
matching the viewport recovery.
evidence: the mid-run blank was observed once (GPU-SOAK-20261205-185353, blank
from round 21 with a selection-abort notice) and did not reproduce in two
later fault soaks (each 50 rounds) or four targeted probes including a
cancel-then-toggle sequence. the rebuild was checked with a 3-minute fault
soak (GPU-SOAK-20261205-211912, 49 rounds, STABLE). the causal link to the
observed blank is unproven; acceptance stays NOT_CLAIMED.
wasm 6183479e78115f20e76dbdc6b98be5ce9e4c425a4e99abca9c3ed88972d236ae.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
a failed native surface attach only reports the boolean create result, so an
injected (or real) COMPUTE_DEVICE_LOST during the attach draw reached the app
as a generic CAPABILITY_MISSING and never matched the bounded auto-remount in
failSurface. route the startup rejection through a failAttach that replays the
surface through the same retrySurface path, and keep the rebind budget in a ref
so the bound survives the effect re-run that the replay triggers.
verified with ?computeFault=destroy-after-3: the first attach logs
"Native WebGPU compute draw_command_generate: COMPUTE_DEVICE_LOST", the retry
re-attaches (attach #2, detach #1), and the surface comes back with
frame=1440x900, inputReady=true and a rendered viewport. a 3-minute fault run
without the soak's web-tools/file-transfer panel clicks stays rendered; the
full soak still blanks its main regions later, which correlates with those
panel toggles after a replay and is recorded as a separate residual.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
route the remaining overlay selection sources through the existing WebGL2
lowering: lightprobe grid, groundline, loose point, volume gridlines,
volume velocity, image, and the three particle variants. the groundline
shader now reads ids via select_id_input(), and the volume gridlines and
velocity shaders cast their int push constant to uint for
select_id_set(uint).
with the whitelist complete, all twelve *_selectable variants compile, the
per-frame "unsupported storage buffer" rejection stops, and viewport
click-select works again: headed Chromium with bpy select_get() reports
click-empty -> no selection, click-cube -> Cube, A -> all three. the abort
notice no longer appears on clicks.
wasm 152679c9e5f685b2bb692e5942229327f2e8ea3236333f1a01f631f5851de71b.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- renderer: release_transfer_images() deletes the transfer framebuffer instead
of only zeroing the name; the leak exhausted VRAM and killed the GPU process
under Vulkan after ~3-7 minutes
- canvas: status notices are absolute overlays, so they no longer resize the
native surface (each show/hide freed and recreated region draw buffers and
eventually froze the main regions)
- compute: bounded shader/layout/pipeline caches, staging pool, device-lost
error propagation, dev-only ?glStats / ?computeFault / ?compute hooks
- headed tools: soak/probe/smoke assets and docs
- evidence: 20-minute Vulkan soak STABLE (GPU-SOAK-20261205-161007),
SwiftShader control STABLE (GPU-SOAK-20261205-162105), Clip 28/28
NOT_CLAIMED (CLIP-HEADED-20261205-162214)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The native desktop canvas needs a WebGPU adapter; without one it stayed black
and the web tools below were unreachable. App.tsx now probes
navigator.gpu.requestAdapter() at startup, hides the native canvas, shows the
web business-tools view and a dismissible notice.
Diagnosis behind it: no flags -> no adapter (black canvas); --enable-unsafe-webgpu
-> SwiftShader adapter, stable over a 10-minute headed soak;
--enable-unsafe-webgpu --enable-features=Vulkan -> NVIDIA adapter renders but the
GPU process exits 133 after ~7 minutes under interaction, while a minimal WebGPU
control page stays stable on the same configuration.
The full frozen Clip suite passes 28/28 after the change
(tests/golden/CLIP-HEADED-20261205); acceptance stays NOT_CLAIMED.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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>
- 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>
- 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>
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>
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>
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>
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>
- 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>
- 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>
- 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>
- 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>