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/lib
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-02-22 14:01:31 +0300
committerbubnikv <bubnikv@gmail.com>2017-02-22 14:01:31 +0300
commit9f660738b36a5e83933385d2463b24b4df50b81f (patch)
tree7536d206c35ed3538bdfcf7b440e6abeb0cc1760 /lib
parent8174c05df4601a1b8b8225baffc0a0873e2f6557 (diff)
Fixes an issue: Slic3r outputs Weight: %.1fg, Cost: %.1f on command line,
instead of filling in the numbers. https://github.com/prusa3d/Slic3r/issues/144
Diffstat (limited to 'lib')
-rw-r--r--lib/Slic3r/Print/Object.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm
index eab68309a..107234fb2 100644
--- a/lib/Slic3r/Print/Object.pm
+++ b/lib/Slic3r/Print/Object.pm
@@ -268,7 +268,7 @@ sub generate_support_material {
}
$self->set_step_done(STEP_SUPPORTMATERIAL);
- my $stats = "Weight: %.1fg, Cost: %.1f" , $self->print->total_weight, $self->print->total_cost;
+ my $stats = sprintf "Weight: %.1fg, Cost: %.1f" , $self->print->total_weight, $self->print->total_cost;
$self->print->status_cb->(85, $stats);
}