From 18965f5c222781e9a7a51568b45aa3a5c99bb377 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Wed, 24 Jul 2019 09:47:01 +0200 Subject: [PATCH] Do not store into undo/redo stack remove all from selection command --- src/slic3r/GUI/Selection.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Selection.cpp b/src/slic3r/GUI/Selection.cpp index 4dfe445cb..f3b85b7b2 100644 --- a/src/slic3r/GUI/Selection.cpp +++ b/src/slic3r/GUI/Selection.cpp @@ -425,7 +425,6 @@ void Selection::add_volumes(EMode mode, const std::vector& volume_ if (i < (unsigned int)m_volumes->size()) do_add_volume(i); } -// do_add_volumes(volume_idxs); update_type(); this->set_bounding_boxes_dirty(); @@ -495,7 +494,9 @@ void Selection::remove_all() if (is_empty()) return; - wxGetApp().plater()->take_snapshot(_(L("Selection - Remove - remove_all()"))); +//##################################################################################################################################################################################### +// wxGetApp().plater()->take_snapshot(_(L("Selection - Remove - remove_all()"))); +//##################################################################################################################################################################################### m_mode = Instance; clear();