mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Save statistics values to the config.ini
This commit is contained in:
parent
88f04e0fae
commit
3f23bd5224
2 changed files with 25 additions and 1 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue