GLGizmoSlaSupports.cpp: Snapshot label now differs for turning the gizmo on/off

This behaviour was broken by recent merge
This commit is contained in:
Lukas Matena 2019-09-03 10:16:06 +02:00
parent b89d9c7aff
commit fd47891793

View file

@ -1113,8 +1113,6 @@ void GLGizmoSlaSupports::on_set_state()
if (m_state == m_old_state)
return;
Plater::TakeSnapshot snapshot(wxGetApp().plater(), _(L("SLA gizmo on/off")));
if (m_state == On && m_old_state != On) { // the gizmo was just turned on
Plater::TakeSnapshot snapshot(wxGetApp().plater(), _(L("SLA gizmo turned on")));
if (is_mesh_update_necessary())