Skip to content

Commit 4f8bf38

Browse files
logic error when the mesh does not contain any cells (#41)
1 parent 994b2bb commit 4f8bf38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bseq/importer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def update_mesh(meshio_mesh, mesh):
162162
else:
163163
mesh.clear_geometry()
164164
mesh.vertices.add(n_verts)
165-
mesh.edges.add(len(edge_data))
165+
mesh.edges.add(len(edges))
166166
mesh.loops.add(n_loop)
167167
mesh.polygons.add(n_poly)
168168

0 commit comments

Comments
 (0)