Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2021-09-21 13:34:40 +0300
committertamasmeszaros <meszaros.q@gmail.com>2021-09-21 13:34:40 +0300
commit63647f594e67d8582454b67b985d9d0904eca6a1 (patch)
treefb1516e346c8ddcc6a71fbd7903b9e1bb1f4c88e /src/slic3r/GUI/GUI_Preview.cpp
parent7e3306c68f9e4ab381e798e15b314a9c2b794ae3 (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.cpp2
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",