mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 22:32:55 +02:00
Do not store into undo/redo stack remove all from selection command
This commit is contained in:
1 parent
1f24e82690
commit
18965f5c22
1 file changed
+3
-2
@@ -425,7 +425,6 @@ void Selection::add_volumes(EMode mode, const std::vector<unsigned int>& 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();
|
||||
|
||||
Reference in new issue
Block a user