mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-28 13:21:00 -07:00
Bugfix: sometimes first layer extrusion width was not applied
This commit is contained in:
parent
49916b6178
commit
a0fe93e8cf
2 changed files with 16 additions and 12 deletions
|
|
@ -3,7 +3,7 @@ use Moo;
|
|||
|
||||
use Slic3r::Geometry::Clipper qw(union_ex);
|
||||
|
||||
has 'id' => (is => 'rw', required => 1); # sequential number of layer, 0-based
|
||||
has 'id' => (is => 'rw', required => 1, trigger => 1); # sequential number of layer, 0-based
|
||||
has 'object' => (is => 'ro', weak_ref => 1, required => 1);
|
||||
has 'regions' => (is => 'ro', default => sub { [] });
|
||||
has 'slicing_errors' => (is => 'rw');
|
||||
|
|
@ -20,6 +20,11 @@ has 'slices' => (is => 'rw');
|
|||
# ordered collection of extrusion paths to fill surfaces for support material
|
||||
has 'support_fills' => (is => 'rw');
|
||||
|
||||
sub _trigger_id {
|
||||
my $self = shift;
|
||||
$_->_trigger_layer for @{$self->regions || []};
|
||||
}
|
||||
|
||||
# Z used for slicing
|
||||
sub _build_slice_z {
|
||||
my $self = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue