Renamed ExtrusionPath->depth_layers to height
This commit is contained in:
parent
2796041a6c
commit
f35cdef2aa
5 changed files with 16 additions and 16 deletions
lib/Slic3r
|
@ -149,7 +149,7 @@ sub extrude_path {
|
|||
$area = ($s**2) * PI/4;
|
||||
} else {
|
||||
my $s = $path->flow_spacing || ($self->layer ? $self->layer->flow->spacing : $Slic3r::flow->spacing);
|
||||
my $h = $path->depth_layers * $self->layer->height;
|
||||
my $h = $path->height // $self->layer->height;
|
||||
$area = $self->extruder->mm3_per_mm($s, $h);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue