mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Rewrote Fill2.pm to C++, deleted Perl infills for good.
Removed dependency on Perl Math::PlanePath module. Fixed compilation with Visual Studio and SLIC3R_DEBUG: Visual Studio older than 2015 does not support the prinf type specifier %zu. Use %Iu instead. C++11 move semantics enabled.
This commit is contained in:
@@ -31,17 +31,6 @@ sub regions {
|
||||
return [ map $self->get_region($_), 0..($self->region_count-1) ];
|
||||
}
|
||||
|
||||
sub make_fill {
|
||||
my ($self) = @_;
|
||||
|
||||
foreach my $layerm (@{$self->regions}) {
|
||||
$layerm->fills->clear;
|
||||
# Fearlessly enable the C++ fillers.
|
||||
$layerm->fills->append($_) for $self->object->fill_maker2->make_fill($layerm);
|
||||
# $layerm->fills->append($_) for $self->object->fill_maker->make_fill($layerm);
|
||||
}
|
||||
}
|
||||
|
||||
package Slic3r::Layer::Support;
|
||||
our @ISA = qw(Slic3r::Layer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user