Operating system: Windows-10-10.0.19041-SP0 64 Bits
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-06-23 17:19 , hash: rB8f4d99159404
Short description of error
A specific mesh, which includes a zero-area face, causes an assertion failure when running the Select All By Trait > Interior Faces operator
Exact steps for others to reproduce the error
- Open the attached .blend file
- In edit mode, hit F3, type "select interior faces", hit enter
- Assertion failure
The bug appears to be benign outside of debug mode.
The assertion is:
BLI_assert failed: D:\blender-git\blender\source\blender\editors\mesh\editmesh_select.c:2944, EDBM_select_interior_faces(), at '-BLI_heap_node_value(node_min) >= cost'
Both -BLI_heap_node_value(node_min) and cost are NaN (I just stuck in a printf).
The exact positioning of of the edges, save for those around the zero-area face, seems to be irrelevant. I can't recreate the problematic mesh by hand, however.
I believe this is a minimal example: I can't delete any more faces without the problem going away.
Stack trace: P2206