From 1c0c2f45bfe34eeeb2ba417ad84f5880104f1e08 Mon Sep 17 00:00:00 2001 From: ChristopheSeux Date: Thu, 5 May 2022 11:58:33 +0200 Subject: [PATCH] push selection to undo --- op_picker.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/op_picker.py b/op_picker.py index c1936d2..182f001 100644 --- a/op_picker.py +++ b/op_picker.py @@ -176,7 +176,9 @@ class RP_OT_box_select(bpy.types.Operator): else: self.picker.move_event(self.mouse) self.picker.release_event(self.mode) - + + bpy.ops.ed.undo_push(message="Box Select") + return self.exit() def exit(self):