Added number of toolchanges into 'Sliced info' statistics

This commit is contained in:
Lukas Matena 2018-09-12 09:28:26 +02:00
parent 961d894218
commit 712fef0669
7 changed files with 27 additions and 7 deletions

View file

@ -296,6 +296,16 @@ Print::total_wipe_tower_filament(...)
THIS->total_wipe_tower_filament = (double)SvNV(ST(1));
}
RETVAL = THIS->total_wipe_tower_filament;
OUTPUT:
RETVAL
int
Print::m_wipe_tower_number_of_toolchanges(...)
CODE:
if (items > 1) {
THIS->m_wipe_tower_number_of_toolchanges = (double)SvNV(ST(1));
}
RETVAL = THIS->m_wipe_tower_number_of_toolchanges;
OUTPUT:
RETVAL
%}