Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-08-01 02:09:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-08-01 02:09:28 +0300
commit4744a96bea1afd11b70b2f1932ca2072a0f17dc9 (patch)
treee1b603419e0a9970eb891f77491f7d9dcbc75c23 /mesh_tiny_cad/V2X.py
parent3ce78656947b1b03125f5ca588a50878dc1a0e2a (diff)
Remove checks for older Blender versions
Diffstat (limited to 'mesh_tiny_cad/V2X.py')
-rw-r--r--mesh_tiny_cad/V2X.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/mesh_tiny_cad/V2X.py b/mesh_tiny_cad/V2X.py
index 69eaeb8b..c230f4a2 100644
--- a/mesh_tiny_cad/V2X.py
+++ b/mesh_tiny_cad/V2X.py
@@ -40,9 +40,7 @@ def add_vertex_to_intersection():
iv = (iv[0] + iv[1]) / 2
bm.verts.new(iv)
- # precaution?
- if hasattr(bm.verts, "ensure_lookup_table"):
- bm.verts.ensure_lookup_table()
+ bm.verts.ensure_lookup_table()
bm.verts[-1].select = True
bmesh.update_edit_mesh(me)