Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2019-08-01 16:25:35 +0300
committerbubnikv <bubnikv@gmail.com>2019-08-01 16:25:35 +0300
commit9f393e6b9ba1463467e242daebda6ff0124cd1e5 (patch)
tree3238a8aec59ba4e58ab5c73b6dd36c523413eb85 /src/slic3r/GUI/Selection.cpp
parent576643c7eddca1f2fb516f2cccdd27ec07fad32c (diff)
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.
Diffstat (limited to 'src/slic3r/GUI/Selection.cpp')
-rw-r--r--src/slic3r/GUI/Selection.cpp6
1 files 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;