1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-31 11:15:52 +00:00

Bugfix: flow wasn't adjusted for first layer according to its height setting. #182

This commit is contained in:
Alessandro Ranellucci
2012-01-30 14:03:12 +01:00
parent 4a9672bd88
commit eb33c03926
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -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) = @_;