diff options
author | bubnikv <bubnikv@gmail.com> | 2017-02-22 14:01:31 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-02-22 14:01:31 +0300 |
commit | 9f660738b36a5e83933385d2463b24b4df50b81f (patch) | |
tree | 7536d206c35ed3538bdfcf7b440e6abeb0cc1760 /lib | |
parent | 8174c05df4601a1b8b8225baffc0a0873e2f6557 (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.pm | 2 |
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); } |