From 9593da261326f06302e7a3e4fba020be1a291959 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Fri, 26 Jul 2019 13:06:49 +0200 Subject: [PATCH] Take a single undo/redo snapshot when pasting from clipboard --- src/slic3r/GUI/Plater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index eb807aa57..02d0e3bf9 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -4719,7 +4719,7 @@ void Plater::paste_from_clipboard() if (!can_paste_from_clipboard()) return; - this->take_snapshot(_(L("Paste From Clipboard"))); + Plater::TakeSnapshot snapshot(this, _(L("Paste From Clipboard"))); p->view3D->get_canvas3d()->get_selection().paste_from_clipboard(); }