1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-19 09:24:27 +00:00

Rethought sla status indication.

This commit is contained in:
tamasmeszaros
2019-04-02 10:54:14 +02:00
parent c542413962
commit a3dcb6863e
4 changed files with 78 additions and 57 deletions
+9
View File
@@ -471,6 +471,15 @@ private:
// Estimated print time, material consumed.
SLAPrintStatistics m_print_statistics;
class StatusReporter {
double m_st = 0;
public:
void operator() (SLAPrint& p, double st, const std::string& msg,
unsigned flags = SlicingStatus::DEFAULT);
double status() const { return m_st; }
} m_report_status;
friend SLAPrintObject;
};