mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-02 11:33:59 -06:00
Attempt to solve conflict with a3bd1b5
by adding id to PrintObject and using that as a hash key.
This commit is contained in:
parent
9247f21ff8
commit
19d18bdd84
4 changed files with 19 additions and 7 deletions
|
@ -168,10 +168,11 @@ sub extrude_loop {
|
|||
if ($self->config->seal_position eq 'nearest') {
|
||||
$loop->split_at_vertex($last_pos->nearest_point(\@candidates));
|
||||
} elsif ($self->config->seal_position eq 'aligned') {
|
||||
if (defined $self->layer && defined $self->_seal_position->{$self->layer->object}) {
|
||||
$last_pos = $self->_seal_position->{$self->layer->object};
|
||||
my $object_id = $self->layer->object->id;
|
||||
if (defined $self->layer && defined $self->_seal_position->{$object_id}) {
|
||||
$last_pos = $self->_seal_position->{$object_id};
|
||||
}
|
||||
my $point = $self->_seal_position->{$self->layer->object} = $last_pos->nearest_point(\@candidates);
|
||||
my $point = $self->_seal_position->{$object_id} = $last_pos->nearest_point(\@candidates);
|
||||
$loop->split_at_vertex($point);
|
||||
}
|
||||
} elsif ($self->config->seal_position eq 'random') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue