Skip to content

Fix convex inertia for unreferenced meshes - #3483

Open
sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix-orphan-convex-mesh
Open

Fix convex inertia for unreferenced meshes#3483
sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix-orphan-convex-mesh

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown

Fixes #3431.

Meshes using inertia="convex" require a convex-hull graph for volume and inertia calculations. An unreferenced mesh can skip the existing geom-driven hull marking, leaving its graph uninitialized before convex inertia is computed.

This change makes each convex-inertia mesh mark itself as requiring a hull when its spec is copied, before cache lookup and mesh processing.

Adds a regression test that compiles the orphan convex-inertia mesh from #3431.

@sylvesterkaczmarek
sylvesterkaczmarek marked this pull request as ready for review August 15, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segmentation fault on unreferenced mesh with inertia="convex"

1 participant