Edge Face Count Not Working?

Is mesh_utils.edge_face_count() not working or am I using it incorrectly? It’s returning the correct number of edges, but has them all showing that they belong to zero faces.


No one knows?

possible bmesh regression?

Reported this as bug and attached patch:

http://projects.blender.org/tracker/index.php?func=detail&aid=34304&group_id=9&atid=498

Simple reason: the function doesn’t check for tessfaces, it should call Mesh.calc_tessface() in case they are []

fix is in trunk:
http://projects.blender.org/scm/viewvc.php/trunk/blender/release/scripts/modules/bpy_extras/mesh_utils.py?root=bf-blender&r1=54632&r2=54631&pathrev=54632

Excellent! Thanks for the fast fix!