mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-28 11:11:16 -06:00
revert commented else from PrintBase::set_status
This commit is contained in:
parent
c5ccfeae3e
commit
a94c604423
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue