mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-28 07:35:20 +00:00
Added number of toolchanges into 'Sliced info' statistics
This commit is contained in:
@@ -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
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user