push selection to undo

blender3.6
ChristopheSeux 2022-05-05 11:58:33 +02:00
parent 2303d32c29
commit 1c0c2f45bf
1 changed files with 3 additions and 1 deletions

View File

@ -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):