mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-01 21:21:10 -06:00
Perform additional checks before merging solid surfaces (i.e. take flow and fill pattern into account)
This commit is contained in:
parent
634ccb33ab
commit
3d483722c6
8 changed files with 62 additions and 9 deletions
|
|
@ -4,7 +4,7 @@ use strict;
|
|||
use warnings;
|
||||
|
||||
use Slic3r::XS;
|
||||
use Test::More tests => 16;
|
||||
use Test::More tests => 15;
|
||||
|
||||
my $square = [ # ccw
|
||||
[100, 100],
|
||||
|
|
@ -71,7 +71,6 @@ is $surface->extra_perimeters, 2, 'extra_perimeters';
|
|||
);
|
||||
my $collection = Slic3r::Surface::Collection->new(@surfaces);
|
||||
is scalar(@{$collection->group}), 2, 'group() returns correct number of groups';
|
||||
is scalar(@{$collection->group(1)}), 1, 'group() returns correct number of solid groups';
|
||||
}
|
||||
|
||||
__END__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue