Removed Selection-Add Volumes, Selection-Add Volume,

Selection-Remove Volume, Selection-Remove Volumes
from taking snapshots, therefore from localizations.
This commit is contained in:
bubnikv 2019-08-29 10:43:26 +02:00
parent e6263ef5dd
commit 3ba144bfe5

View File

@ -290,8 +290,6 @@ void Selection::add_volume(unsigned int object_idx, unsigned int volume_idx, int
(as_single_selection && matches(volume_idxs)))
return;
wxGetApp().plater()->take_snapshot(_(L("Selection-Add Volume")));
// resets the current list if needed
if (as_single_selection)
clear();
@ -309,8 +307,6 @@ void Selection::remove_volume(unsigned int object_idx, unsigned int volume_idx)
if (!m_valid)
return;
wxGetApp().plater()->take_snapshot(_(L("Selection-Remove Volume")));
for (unsigned int i = 0; i < (unsigned int)m_volumes->size(); ++i)
{
GLVolume* v = (*m_volumes)[i];
@ -331,8 +327,6 @@ void Selection::add_volumes(EMode mode, const std::vector<unsigned int>& volume_
(as_single_selection && matches(volume_idxs)))
return;
wxGetApp().plater()->take_snapshot(_(L("Selection-Add Volumes")));
// resets the current list if needed
if (as_single_selection)
clear();
@ -353,8 +347,6 @@ void Selection::remove_volumes(EMode mode, const std::vector<unsigned int>& volu
if (!m_valid)
return;
wxGetApp().plater()->take_snapshot(_(L("Selection-Remove Volumes")));
m_mode = mode;
for (unsigned int i : volume_idxs)
{