diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2021-09-21 13:34:40 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2021-09-21 13:34:40 +0300 |
commit | 63647f594e67d8582454b67b985d9d0904eca6a1 (patch) | |
tree | fb1516e346c8ddcc6a71fbd7903b9e1bb1f4c88e /src/slic3r/GUI/GUI_Preview.cpp | |
parent | 7e3306c68f9e4ab381e798e15b314a9c2b794ae3 (diff) |
Add dedicated subclass NotificationProgressIndicator
to replace ProgressStatusBar and revert changes from b9dab754, keep UI jobs untouched
Diffstat (limited to 'src/slic3r/GUI/GUI_Preview.cpp')
-rw-r--r-- | src/slic3r/GUI/GUI_Preview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GUI_Preview.cpp b/src/slic3r/GUI/GUI_Preview.cpp index f5b29153e..bbe54c2ab 100644 --- a/src/slic3r/GUI/GUI_Preview.cpp +++ b/src/slic3r/GUI/GUI_Preview.cpp @@ -725,7 +725,7 @@ void Preview::update_layers_slider(const std::vector<double>& layers_z, bool kee double top_area = area(object->get_layer(int(object->layers().size()) - 1)->lslices); if( bottom_area - top_area > delta_area) { - std::shared_ptr<NotificationManager> notif_mngr = wxGetApp().plater()->get_notification_manager(); + NotificationManager *notif_mngr = wxGetApp().plater()->get_notification_manager(); notif_mngr->push_notification( NotificationType::SignDetected, NotificationManager::NotificationLevel::RegularNotificationLevel, _u8L("NOTE:") + "\n" + _u8L("Sliced object looks like the sign") + "\n", |