one of the asserts was incorrect ... perhaps the other one can be removed?
This commit is contained in:
parent
7d89a5778b
commit
88cfd0f6a6
@ -103,7 +103,6 @@ def refine(mesh):
|
|||||||
# evid connected to both the vid and the fvid (2 vids)
|
# evid connected to both the vid and the fvid (2 vids)
|
||||||
evids_for_vid = [e + e_vert_offset for e in
|
evids_for_vid = [e + e_vert_offset for e in
|
||||||
mesh.edges_for_vert[connected_vid]]
|
mesh.edges_for_vert[connected_vid]]
|
||||||
assert len(evids_for_vid) == 3
|
|
||||||
common_ids = list(set(evids_for_vid) & set(evids_for_current_face))
|
common_ids = list(set(evids_for_vid) & set(evids_for_current_face))
|
||||||
assert len(common_ids) == 2
|
assert len(common_ids) == 2
|
||||||
# then connect the (4) vids together ...
|
# then connect the (4) vids together ...
|
||||||
|
Loading…
Reference in New Issue
Block a user