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

mesh_inset addon: redraw before exit seems necessary, not sure why

parent 933790dc
No related branches found
No related tags found
No related merge requests found
...@@ -115,6 +115,7 @@ class Inset(bpy.types.Operator): ...@@ -115,6 +115,7 @@ class Inset(bpy.types.Operator):
do_inset(mesh, self.inset_amount, self.inset_height, self.region, do_inset(mesh, self.inset_amount, self.inset_height, self.region,
self.scale == 'PERCENT') self.scale == 'PERCENT')
bpy.context.user_preferences.edit.use_global_undo = save_global_undo bpy.context.user_preferences.edit.use_global_undo = save_global_undo
bpy.context.area.tag_redraw()
def do_inset(mesh, amount, height, region, as_percent): 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.
Please register or to comment