fix(web): refresh the Outliner after visibility changes
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:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P1425-001",
|
||||
"updatedAt": "2026-11-14T09:58:00+08:00",
|
||||
"updatedAt": "2026-11-14T10:00: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",
|
||||
@@ -316,5 +316,12 @@
|
||||
"result": "排除 toggles layer exclude true→false; 隐藏 toggles layer hide_viewport; restored",
|
||||
"script": "tools/web/complete/probe-layer-settings.mjs",
|
||||
"acceptance": "NOT_CLAIMED"
|
||||
},
|
||||
"objectVisibilityFix": {
|
||||
"fix": "App.tsx refreshes the active Outliner after a setObjectVisibility command (the native flag change did not rebuild the tree)",
|
||||
"before": "hiding an object collapsed the whole Outliner until manual refresh; the eye toggle disappeared",
|
||||
"after": "hide → tree retained, eye 显示 PBR Studio Ground; show → hide_viewport=false, revision r5",
|
||||
"script": "tools/web/complete/probe-object-visibility.mjs",
|
||||
"acceptance": "NOT_CLAIMED"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user