diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2012-03-19 14:40:46 +0400 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2012-03-19 14:40:46 +0400 |
commit | 3496a9908115cfee791621ee7cd62532b7c060a8 (patch) | |
tree | 269171977dd0e2eb5b40d8f15eb1bc4ab19e1f09 /mesh_inset | |
parent | 2c33069da7dcc1403e611de6e3d48e5acceb576d (diff) |
Update for api change.
Diffstat (limited to 'mesh_inset')
-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 bc2df187..b78cba3c 100644 --- a/mesh_inset/__init__.py +++ b/mesh_inset/__init__.py @@ -123,7 +123,7 @@ def do_inset(mesh, amount, height, region, as_percent): pitch = math.atan(height / amount) selfaces = [] selface_indices = [] - bm = bmesh.from_mesh(mesh) + bm = bmesh.from_edit_mesh(mesh) for face in bm.faces: if face.select: selfaces.append(face) |