From 9f393e6b9ba1463467e242daebda6ff0124cd1e5 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 1 Aug 2019 15:25:35 +0200 Subject: [PATCH] Not taking the snapshot with non-empty Redo stack will likely be more confusing than losing the Redo stack. Let's wait for user feedback. --- src/slic3r/GUI/Selection.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Selection.cpp b/src/slic3r/GUI/Selection.cpp index 211863627..2488947bc 100644 --- a/src/slic3r/GUI/Selection.cpp +++ b/src/slic3r/GUI/Selection.cpp @@ -402,8 +402,10 @@ void Selection::remove_all() if (is_empty()) return; - - if (!wxGetApp().plater()->can_redo()) + +// Not taking the snapshot with non-empty Redo stack will likely be more confusing than losing the Redo stack. +// Let's wait for user feedback. +// if (!wxGetApp().plater()->can_redo()) wxGetApp().plater()->take_snapshot(_(L("Selection-Remove All"))); m_mode = Instance;