fix(web): pass screen context to embedded menu operators
- 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>
This commit is contained in:
@@ -383,6 +383,21 @@
|
||||
`tests/golden` 其余约 21 GB 证据、`web/app/dist-snapshot`(487 MB)、
|
||||
`COURSE-FULL-001/video`(110 MB)。
|
||||
|
||||
## 视图层与重复操作(2026-11-14)
|
||||
|
||||
- 视图层:场景 → 添加视图层 → `ViewLayer_001`;删除视图层 → 回到
|
||||
`ViewLayer`,均返回“原生操作已返回”,通过。
|
||||
- 重复上一步:`screen.repeat_last` 仍返回
|
||||
`poll() failed, context is incorrect`。已尝试:
|
||||
- 菜单调用传 `areaType=VIEW_3D`;
|
||||
- `web_engine_python_bootstrap.py` 的 `temp_override` 增加
|
||||
`screen=window.screen`(WASM `58325d97...`)。
|
||||
仍失败;源码 `repeat_history_poll` 还要求 WM runtime operator 栈非空,
|
||||
判断为嵌入宿主不保留该栈。下一步:在 Web 入口禁用并给出原因,或改用
|
||||
bpy 侧可重放的操作记录实现。
|
||||
- 新 WASM 已同步并重建 `web/dist`;证据
|
||||
`tools/web/complete/probe-repeat-viewlayer.mjs`。
|
||||
|
||||
## 下一动作
|
||||
|
||||
1. 用户验证 `?ui=web` 导出面板的 USD/Alembic 下载与产物内容。
|
||||
|
||||
Reference in New Issue
Block a user