diff options
Diffstat (limited to 'mesh_tiny_cad/BIX.py')
-rw-r--r-- | mesh_tiny_cad/BIX.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mesh_tiny_cad/BIX.py b/mesh_tiny_cad/BIX.py index 4f021896..faac5212 100644 --- a/mesh_tiny_cad/BIX.py +++ b/mesh_tiny_cad/BIX.py @@ -30,9 +30,8 @@ def add_line_to_bisection(self): me = obj.data bm = bmesh.from_edit_mesh(me) - if hasattr(bm.verts, "ensure_lookup_table"): - bm.verts.ensure_lookup_table() - bm.edges.ensure_lookup_table() + bm.verts.ensure_lookup_table() + bm.edges.ensure_lookup_table() edges = [e for e in bm.edges if e.select and not e.hide] |