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
This commit is contained in:
parent
8174c05df4
commit
9f660738b3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue