diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-08 01:53:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-08 01:53:53 +0400 |
commit | 31312963b2f320ae211aa14a81713b7460a46ec4 (patch) | |
tree | 6da1e57d3a9d35ec941d35dc9c1e0ee4b2fffdc5 /mesh_inset/__init__.py | |
parent | 66f182408c79ff432c8d2df40857d4149d0a1167 (diff) |
remove unneeded vector conversion.
Diffstat (limited to 'mesh_inset/__init__.py')
-rw-r--r-- | mesh_inset/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh_inset/__init__.py b/mesh_inset/__init__.py index 2d8e8565..bc2df187 100644 --- a/mesh_inset/__init__.py +++ b/mesh_inset/__init__.py @@ -145,7 +145,7 @@ def do_inset(mesh, amount, height, region, as_percent): blender_faces = m.faces[orig_numf:len(m.faces)] blender_old_face_index = m.face_data[orig_numf:len(m.faces)] for i in range(orig_numv, len(m.points.pos)): - bvertnew = bm.verts.new(mathutils.Vector(m.points.pos[i])) + bvertnew = bm.verts.new(m.points.pos[i]) bm.verts.index_update() new_faces = [] start_faces = len(bm.faces) |