mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 12:49:10 +08:00
revert commented else from PrintBase::set_status
This commit is contained in:
parent
c5ccfeae3e
commit
a94c604423
@ -192,7 +192,7 @@ public:
|
|||||||
// Calls a registered callback to update the status, or print out the default message.
|
// Calls a registered callback to update the status, or print out the default message.
|
||||||
void set_status(int percent, const std::string &message) {
|
void set_status(int percent, const std::string &message) {
|
||||||
if (m_status_callback) m_status_callback(percent, message);
|
if (m_status_callback) m_status_callback(percent, message);
|
||||||
/*else */printf("%d => %s\n", percent, message.c_str());
|
else printf("%d => %s\n", percent, message.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef std::function<void()> cancel_callback_type;
|
typedef std::function<void()> cancel_callback_type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user