mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-25 07:37:37 +08:00
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.
This commit is contained in:
parent
576643c7ed
commit
9f393e6b9b
@ -402,8 +402,10 @@ void Selection::remove_all()
|
|||||||
|
|
||||||
if (is_empty())
|
if (is_empty())
|
||||||
return;
|
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")));
|
wxGetApp().plater()->take_snapshot(_(L("Selection-Remove All")));
|
||||||
|
|
||||||
m_mode = Instance;
|
m_mode = Instance;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user