Added number of toolchanges into 'Sliced info' statistics

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

No files matched your search

+10
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
%}