Add [total_toolchanges] placeholder for filename and custom gcode sections.

This commit is contained in:
Bryan Smith 2019-02-04 18:55:06 -05:00
parent 7a5d3de1c4
commit f364b956fc
3 changed files with 12 additions and 1 deletions

View file

@ -241,6 +241,7 @@ struct PrintStatistics
double total_used_filament;
double total_extruded_volume;
double total_cost;
int total_toolchanges;
double total_weight;
double total_wipe_tower_cost;
double total_wipe_tower_filament;
@ -259,6 +260,7 @@ struct PrintStatistics
total_used_filament = 0.;
total_extruded_volume = 0.;
total_cost = 0.;
total_toolchanges = 0;
total_weight = 0.;
total_wipe_tower_cost = 0.;
total_wipe_tower_filament = 0.;