mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-21 14:09:54 +02:00
Attempt to solve conflict with a3bd1b5 by adding id to PrintObject and using that as a hash key.
This commit is contained in:
1 parent
9247f21ff8
commit
19d18bdd84
4 files changed
+19
-7
No files matched your search
+4
-3
@@ -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') {
|
||||
|
||||
Reference in new issue
Block a user