feat: add depsgraph-evaluated export example with smoke gate#21
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 depsgraphevaluated_get → to_mesh → to_mesh_clearlifetime contract: builds a cube + 2-level SUBSURF, measures the evaluated mesh, exports viawm.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):
blender-smoke.ymlruns the shipped file check-only on both builds.Not promoted:
headless-exportThe other Phase-3 candidate (headless modifier-apply + glTF) passed on both builds but duplicates the existing
tests/smoke/tmpl_gltf.pycoverage (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