mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Improved logging of SLA support tree creation.
This commit is contained in:
parent
57008d0d77
commit
ca1f3dc6af
2 changed files with 23 additions and 10 deletions
|
@ -447,16 +447,21 @@ private:
|
|||
|
||||
// Estimated print time, material consumed.
|
||||
SLAPrintStatistics m_print_statistics;
|
||||
|
||||
class StatusReporter {
|
||||
|
||||
class StatusReporter
|
||||
{
|
||||
double m_st = 0;
|
||||
|
||||
public:
|
||||
void operator() (SLAPrint& p, double st, const std::string& msg,
|
||||
unsigned flags = SlicingStatus::DEFAULT);
|
||||
void operator()(SLAPrint & p,
|
||||
double st,
|
||||
const std::string &msg,
|
||||
unsigned flags = SlicingStatus::DEFAULT,
|
||||
const std::string &logmsg = "");
|
||||
|
||||
double status() const { return m_st; }
|
||||
} m_report_status;
|
||||
|
||||
|
||||
friend SLAPrintObject;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue