fix(web): replay the last menu operator for Repeat Last
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>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1425-001",
|
||||
"updatedAt": "2026-11-14T06:25:00+08:00",
|
||||
"updatedAt": "2026-11-14T06:29:00+08:00",
|
||||
"status": "in_progress",
|
||||
"focus": "COMPLETE-TUTORIAL-001 backend export gap (USD/Alembic)",
|
||||
"breakpoint": "blender-5.2.0/source/blender/web_engine/CMakeLists.txt (USD wiring); WASM 6ee2b261",
|
||||
@@ -29,7 +29,7 @@
|
||||
"Confirm whether the one-time TfNotice duplicate Python type Coding Error has side effects on second imports.",
|
||||
"Alembic was verified only through the focused worker probe, not the export panel."
|
||||
],
|
||||
"nextAction": "Decide repeat_last: disable with reason in web entry or replay via bpy history; continue three-domain cases.",
|
||||
"nextAction": "Continue three-domain cases; commit/push the repeat fallback with the next batch.",
|
||||
"wasmSha256": "6ee2b2612a0ae667cd83df7177cf695ca8681ae83818c95799bb416435945c4e",
|
||||
"acceptance": "NOT_CLAIMED",
|
||||
"probe": {
|
||||
@@ -139,7 +139,7 @@
|
||||
},
|
||||
"repeatViewLayer": {
|
||||
"viewLayers": "add → ViewLayer_001, remove → ViewLayer; PASS",
|
||||
"repeatLast": "screen.repeat_last poll() failed, context is incorrect; areaType=VIEW_3D and temp_override screen=window.screen did not fix; likely no WM runtime operator stack in the embedded host",
|
||||
"repeatLast": "screen.repeat_last still poll-fails (no WM runtime operator stack); web fallback replays lastMenuOperatorRef: add Circle 7→8 (Circle.001), status 原生操作已返回:mesh.primitive_circle_add",
|
||||
"wasmSha256": "58325d9793cb7e374aae929d8de02affe2d0be8a2e4687929695740393cfe2fd",
|
||||
"script": "tools/web/complete/probe-repeat-viewlayer.mjs",
|
||||
"acceptance": "NOT_CLAIMED"
|
||||
|
||||
Reference in New Issue
Block a user