Commit Graph

2 Commits

Author SHA1 Message Date
mes123456
390d487eb8 fix(web): decimate ratio writes refresh the evaluated modifier stack
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 modifier merge ran after refresh_scene_from_main round-tripped Main
through the blend format, which dropped the DEG tag issued by the setter,
so DEG_get_evaluated kept publishing the previous COW copy: Ratio 0.1 was
visible in Main and in the snapshot parameters while triangleCount and
python to_mesh() stayed at the add-time 968 until an external
update_tag()+view_layer.update().

- engine: tag every modifier owner with DEG_id_tag_update_ex(state->main,
  ID_RECALC_ALL) before merge evaluation and update through
  BKE_scene_graph_update_tagged (same call ViewLayer.update uses).
- tests: mode menu items are menuitemcheckbox; select-all lives in the
  header 选择 ▸ 全部 menu, not 网格 ▸ 选择工具.
- runner: archive per-case evidence JSON under artifacts/evidence;
  checker reads fixtures.desktopOracle instead of a missing top-level key.
- docs: record the root cause, fix and receipt MESH-DECIMATE-HEADED-20261129-012441.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 01:51:25 +08:00
mes123456
fe071c1249 feat(web): decimate modifier stack evaluation, desktop entries and headed suite
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
- engine: publish evaluated modifier-stack meshes (triangleCount, base counts,
  EVALUATED status) for object-mode single-user meshes with enabled modifiers
- UI: 添加修改器 ▸ 生成 ▸ 简化 (Decimate) menu and edit-mode
  网格 ▸ 清理 ▸ 简化几何 dialog (mesh.decimate with ratio)
- tests: four-case headed suite (modifier/edit × web/native) on the monkey GLB
- tools: headed runner, receipt checker, desktop golden generator
- docs: MESH-DECIMATE-HEADED-TESTS.md and status completion record

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 20:57:16 +08:00