mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Bugfix: flow wasn't adjusted for first layer according to its height setting. #182
This commit is contained in:
@@ -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) = @_;
|
||||
|
||||
Reference in New Issue
Block a user