mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 17:42:14 +00:00
Bugfix, last commit was incomplete
This commit is contained in:
@@ -48,8 +48,19 @@ has 'perimeters' => (is => 'rw', default => sub { [] });
|
||||
# ordered collection of extrusion paths to fill surfaces
|
||||
has 'fills' => (is => 'rw', default => sub { [] });
|
||||
|
||||
sub BUILD {
|
||||
my $self = shift;
|
||||
$self->_update_flows;
|
||||
}
|
||||
|
||||
sub _trigger_layer {
|
||||
my $self = shift;
|
||||
$self->_update_flows;
|
||||
}
|
||||
|
||||
sub _update_flows {
|
||||
my $self = shift;
|
||||
return if !$self->region;
|
||||
|
||||
$self->perimeter_flow($self->id == 0
|
||||
? $self->region->first_layer_flows->{perimeter}
|
||||
|
||||
Reference in New Issue
Block a user