Skip to content

feat: add depsgraph-evaluated export example with smoke gate#21

Merged
TMHSDigital merged 1 commit into
mainfrom
feat/example-depsgraph-export
Jun 20, 2026
Merged

feat: add depsgraph-evaluated export example with smoke gate#21
TMHSDigital merged 1 commit into
mainfrom
feat/example-depsgraph-export

Conversation

@TMHSDigital

Copy link
Copy Markdown
Owner

Phase 4 of 5 — promote the depsgraph-evaluated export example

Promotes the earner from Phase 3. examples/depsgraph-export/ proves modifiers actually ship in exports and demonstrates the depsgraph evaluated_get → to_mesh → to_mesh_clear lifetime contract: builds a cube + 2-level SUBSURF, measures the evaluated mesh, exports via wm.obj_export, and asserts the exported vertex count equals the evaluated (modifier-applied) count and is strictly greater than the base.

CI check (no render, both builds):

5.1.1:  base_vcount=8 eval_vcount=98 exported_vcount=98  → depsgraph-export OK
4.5.10: base_vcount=8 eval_vcount=98 exported_vcount=98  → depsgraph-export OK

blender-smoke.yml runs the shipped file check-only on both builds.

Not promoted: headless-export

The other Phase-3 candidate (headless modifier-apply + glTF) passed on both builds but duplicates the existing tests/smoke/tmpl_gltf.py coverage (exit 0 + valid glb + exit-2) — it witnesses nothing not already gated, so it stays in scratch.

Version

feat: → minor. No roadmap renumber needed (decoupled in #19). examples/ out of validate-counts (12/6/2/17 unchanged).

🤖 Generated with Claude Code

examples/depsgraph-export/ proves modifiers actually ship in exports and demonstrates the depsgraph evaluated_get -> to_mesh -> to_mesh_clear lifetime contract: builds a cube + SUBSURF, measures the evaluated mesh, exports via wm.obj_export, and asserts exported vcount == evaluated (modifier-applied) count > base. Cheap CI check (no render): base 8 -> evaluated/exported 98 on both Blender 4.5.10 LTS and 5.1.1. blender-smoke.yml runs the shipped file check-only on both builds. examples/ stays out of validate-counts (12/6/2/17 unchanged); roadmap decoupled in #19 so no renumber. (Scratch candidate headless-export was NOT promoted -- it duplicates the existing tmpl_gltf smoke coverage.)

Signed-off-by: fOuttaMyPaint <TMhospitalitystrategies@gmail.com>
@github-actions github-actions Bot added documentation Improvements or additions to documentation ci labels Jun 20, 2026
@TMHSDigital TMHSDigital merged commit 2ad60ca into main Jun 20, 2026
8 checks passed
@TMHSDigital TMHSDigital deleted the feat/example-depsgraph-export branch June 20, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant