Skip to content
Snippets Groups Projects
Commit 1f7b14b9 authored by Howard Trickey's avatar Howard Trickey
Browse files

Make the inset_mesh addon display better after it does its thing.

parent 0ba15197
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,8 @@ class Inset(bpy.types.Operator):
do_inset(mesh, self.inset_amount, self.inset_height, self.region,
self.scale == 'PERCENT')
bpy.context.user_preferences.edit.use_global_undo = save_global_undo
bpy.context.area.tag_redraw()
bpy.ops.object.editmode_toggle()
bpy.ops.object.editmode_toggle()
def do_inset(mesh, amount, height, region, as_percent):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment