mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 21:44:08 -06:00
Bugfix: flow wasn't adjusted for first layer according to its height setting. #182
This commit is contained in:
parent
4a9672bd88
commit
eb33c03926
2 changed files with 8 additions and 1 deletions
|
@ -91,6 +91,13 @@ sub print_z {
|
|||
+ ($self->id * $Slic3r::layer_height)) / $Slic3r::resolution;
|
||||
}
|
||||
|
||||
sub height {
|
||||
my $self = shift;
|
||||
return $self->id == 0
|
||||
? ($Slic3r::layer_height * $Slic3r::first_layer_height_ratio)
|
||||
: $Slic3r::layer_height;
|
||||
}
|
||||
|
||||
sub add_line {
|
||||
my $self = shift;
|
||||
my ($line) = @_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue