diff --git a/power_mods/mirror.py b/power_mods/mirror.py index eed145c..e6ef25d 100644 --- a/power_mods/mirror.py +++ b/power_mods/mirror.py @@ -346,6 +346,8 @@ def select_reference_objs(self, context): def finish(self, context): self.select_reference_objs(context) + context.object.show_in_front = False + unregister_draw_handler() unregister_axis_handler() @@ -353,7 +355,6 @@ def finish(self, context): def revert(self, context): if self.geometry_mode and not self.geometry_ready: bpy.ops.object.mode_set(mode='OBJECT') - context.object.show_in_front = False bpy.ops.object.delete() self.select_reference_objs(context) @@ -365,6 +366,8 @@ def revert(self, context): if self.geometry_mode and self.geometry_ready: bpy.data.objects.remove(self.mirror_obj, do_unlink=True) + context.object.show_in_front = False + unregister_draw_handler() unregister_axis_handler()