Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2021-04-21 15:57:43 +0300
committerOleksandra Yushchenko <yusanka@gmail.com>2021-05-07 13:48:34 +0300
commitb9910669e82d79dfe5a4312c296b34ac5a107f4a (patch)
treeb9cbb532a97a720b69e3cd431b02791217cffc27 /xs
parent56aa45fa1fabe7fbc3389f9881b109b34c39279f (diff)
Fix of #2825 - Add the length of each filament used
Diffstat (limited to 'xs')
-rw-r--r--xs/xsp/Print.xsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp
index 44d58266b..8aef9e7a3 100644
--- a/xs/xsp/Print.xsp
+++ b/xs/xsp/Print.xsp
@@ -105,7 +105,7 @@ _constant()
SV* filament_stats()
%code%{
HV* hv = newHV();
- for (std::map<size_t,float>::const_iterator it = THIS->print_statistics().filament_stats.begin(); it != THIS->print_statistics().filament_stats.end(); ++it) {
+ for (std::map<size_t,double>::const_iterator it = THIS->print_statistics().filament_stats.begin(); it != THIS->print_statistics().filament_stats.end(); ++it) {
// stringify extruder_id
std::ostringstream ss;
ss << it->first;