mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-02 14:40:37 +08:00
Fix stats output
This commit is contained in:
parent
d8a8e0d1c1
commit
abbc458f10
@ -459,7 +459,7 @@ sub generate_support_material {
|
|||||||
$self->_support_material->generate($self);
|
$self->_support_material->generate($self);
|
||||||
|
|
||||||
$self->set_step_done(STEP_SUPPORTMATERIAL);
|
$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);
|
$self->print->status_cb->(85, $stats);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user