From ba0146746d88db8f4fff69a24c9f785c06c18005 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Wed, 15 Jul 2020 18:13:11 +0200 Subject: [PATCH] Fix of previous commit. --- src/libslic3r/PrintBase.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/PrintBase.hpp b/src/libslic3r/PrintBase.hpp index 65f1764e5..d7f3483e8 100644 --- a/src/libslic3r/PrintBase.hpp +++ b/src/libslic3r/PrintBase.hpp @@ -527,7 +527,7 @@ protected: // Add a slicing warning to the active Print step and send a status notification. // This method could be called multiple times between this->set_started() and this->set_done(). void active_step_add_warning(PrintStateBase::WarningLevel warning_level, const std::string &message, int message_id = 0) { - std::pair active_step = m_state.active_step_add_warning(warning_level, message, message_id, this->state_mutex()); + std::pair active_step = m_state.active_step_add_warning(warning_level, message, message_id, this->state_mutex()); if (active_step.second) // Update UI. this->status_update_warnings(*this, static_cast(active_step.first), warning_level, message); @@ -577,7 +577,7 @@ protected: // Add a slicing warning to the active PrintObject step and send a status notification. // This method could be called multiple times between this->set_started() and this->set_done(). void active_step_add_warning(PrintStateBase::WarningLevel warning_level, const std::string &message, int message_id = 0) { - std::pair active_step = m_state.active_step_add_warning(warning_level, message, message_id, PrintObjectBase::state_mutex(m_print)); + std::pair active_step = m_state.active_step_add_warning(warning_level, message, message_id, PrintObjectBase::state_mutex(m_print)); if (active_step.second) this->status_update_warnings(m_print, static_cast(active_step.first), warning_level, message); }