Save statistics values to the config.ini

This commit is contained in:
YuSanka 2019-02-13 16:30:40 +01:00
parent 88f04e0fae
commit 3f23bd5224
2 changed files with 25 additions and 1 deletions

View file

@ -969,6 +969,10 @@ void SLAPrint::process()
// Fill statistics
fill_statistics();
// Set statistics values to the printer
SLAPrinter& printer = *m_printer;
printer.set_statistics({m_print_statistics.objects_used_material,
m_print_statistics.support_used_material});
// If everything vent well
report_status(*this, 100, L("Slicing done"));