29 lines
865 B
Markdown
29 lines
865 B
Markdown
# W-032 Status
|
|
|
|
status: done
|
|
task: 导出场景树和集合
|
|
|
|
## Evidence
|
|
|
|
- C++ collection/object traversal: `web_engine_blend_reader.cpp`
|
|
- Dynamic Outliner: `web/app/src/app/App.tsx`
|
|
- Golden: `tests/golden/W-032/basic-scene-tree.json`
|
|
|
|
The reader resolves Scene root collections, linked collection objects, object
|
|
parent/data links, active camera, local/world matrices, viewport visibility and
|
|
selectability. Collection and node arrays are sorted by stable IDs before
|
|
serialization; parent cycles fall back to the local matrix instead of recursing
|
|
without a bound.
|
|
|
|
## Verification
|
|
|
|
```text
|
|
node tools/web/run-web-engine-smoke.mjs
|
|
npm run test:e2e # local basic_scene.blend appears in Outliner
|
|
```
|
|
|
|
## Remaining risk
|
|
|
|
The fixture proves one nested collection. View-layer overrides and evaluated
|
|
depsgraph visibility remain part of the later scene-context work.
|