mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-09 03:12:26 +00:00
Bugfix, last commit was incomplete
This commit is contained in:
1 parent
a0fe93e8cf
commit
f9b6caaecb
1 file changed
+11
@@ -48,8 +48,19 @@ has 'perimeters' => (is => 'rw', default => sub { [] });
|
|||||||
# ordered collection of extrusion paths to fill surfaces
|
# ordered collection of extrusion paths to fill surfaces
|
||||||
has 'fills' => (is => 'rw', default => sub { [] });
|
has 'fills' => (is => 'rw', default => sub { [] });
|
||||||
|
|
||||||
|
sub BUILD {
|
||||||
|
my $self = shift;
|
||||||
|
$self->_update_flows;
|
||||||
|
}
|
||||||
|
|
||||||
sub _trigger_layer {
|
sub _trigger_layer {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
$self->_update_flows;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub _update_flows {
|
||||||
|
my $self = shift;
|
||||||
|
return if !$self->region;
|
||||||
|
|
||||||
$self->perimeter_flow($self->id == 0
|
$self->perimeter_flow($self->id == 0
|
||||||
? $self->region->first_layer_flows->{perimeter}
|
? $self->region->first_layer_flows->{perimeter}
|
||||||
|
|||||||
Reference in new issue
Block a user