fix(web): refresh the Outliner after visibility changes
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 native visibility flag update left the Outliner tree empty and hid the
eye toggle. Refresh the active Outliner after setObjectVisibility.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-14 11:00:02 +08:00
parent cea4491607
commit 22c1ba696a
4 changed files with 103 additions and 1 deletions

View File

@@ -477,6 +477,11 @@
- 视图层集合设置:`排除 开/关` 切换 layer exclude(true→false),
`隐藏 开/关` 切换 layer hide_viewport;revision r3/r4/r6。证据
`tools/web/complete/probe-layer-settings.mjs`。
- 对象可见性(修复):Outliner 眼睛按钮切换 `hide_viewport` 后,此前
Outliner 会整树塌陷、眼睛状态丢失,必须手动刷新才恢复。现在
`setObjectVisibility` 成功后自动发送 `OUTLINER_REFRESH`;复测 hide →
树保持、显示“显示 PBR Studio Ground”,show → `hide_viewport=false`、
revision r5。证据 `tools/web/complete/probe-object-visibility.mjs`。
- Sequencer:Properties 的 Sequencer Strip Editing → Add Strip 创建
`Web MOVIE`(MOVIE);证据 `tools/web/complete/probe-sequencer.mjs`。
- Outliner:右键 `Data` 菜单 → 重命名,`PBR Studio Ground` → `GroundRenamed`,