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:
authorHoward Trickey <howard.trickey@gmail.com>2012-03-19 14:40:46 +0400
committerHoward Trickey <howard.trickey@gmail.com>2012-03-19 14:40:46 +0400
commit3496a9908115cfee791621ee7cd62532b7c060a8 (patch)
tree269171977dd0e2eb5b40d8f15eb1bc4ab19e1f09 /mesh_inset
parent2c33069da7dcc1403e611de6e3d48e5acceb576d (diff)
Update for api change.
Diffstat (limited to 'mesh_inset')
-rw-r--r--mesh_inset/__init__.py2
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)