cleanup
This commit is contained in:
parent
7c7c355376
commit
bfd87dc93a
1 changed files with 1 additions and 2 deletions
|
@ -646,7 +646,6 @@ void Preview::update_layers_slider(const std::vector<double>& layers_z, bool kee
|
||||||
if (m_layers_slider->IsNewPrint())
|
if (m_layers_slider->IsNewPrint())
|
||||||
{
|
{
|
||||||
NotificationManager* notif_mngr = wxGetApp().plater()->get_notification_manager();
|
NotificationManager* notif_mngr = wxGetApp().plater()->get_notification_manager();
|
||||||
// notif_mngr->close_notification_of_type(NotificationType::SignDetected);
|
|
||||||
|
|
||||||
const Print& print = wxGetApp().plater()->fff_print();
|
const Print& print = wxGetApp().plater()->fff_print();
|
||||||
double delta_area = scale_(scale_(25)); // equal to 25 mm2
|
double delta_area = scale_(scale_(25)); // equal to 25 mm2
|
||||||
|
@ -676,7 +675,7 @@ void Preview::update_layers_slider(const std::vector<double>& layers_z, bool kee
|
||||||
NotificationType::SignDetected, NotificationManager::NotificationLevel::RegularNotification,
|
NotificationType::SignDetected, NotificationManager::NotificationLevel::RegularNotification,
|
||||||
_u8L("NOTE:") + "\n" + _u8L("Sliced object looks like the sign") + "\n",
|
_u8L("NOTE:") + "\n" + _u8L("Sliced object looks like the sign") + "\n",
|
||||||
_u8L("Apply auto color change to print"),
|
_u8L("Apply auto color change to print"),
|
||||||
[this, notif_mngr](wxEvtHandler*) {
|
[this](wxEvtHandler*) {
|
||||||
m_layers_slider->auto_color_change();
|
m_layers_slider->auto_color_change();
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue