Require the newest Math::Clipper and Boost::Geometry::Utils to avoid the huge memory leaks present in previous versions
This commit is contained in:
parent
f13d4e4e66
commit
c43ef45064
4
Build.PL
4
Build.PL
@ -7,12 +7,12 @@ my $build = Module::Build->new(
|
||||
dist_version => '0.1',
|
||||
license => 'perl',
|
||||
requires => {
|
||||
'Boost::Geometry::Utils' => '0.08',
|
||||
'Boost::Geometry::Utils' => '0.12',
|
||||
'Encode::Locale' => '0',
|
||||
'File::Basename' => '0',
|
||||
'File::Spec' => '0',
|
||||
'Getopt::Long' => '0',
|
||||
'Math::Clipper' => '1.21',
|
||||
'Math::Clipper' => '1.22',
|
||||
'Math::ConvexHull::MonotoneChain' => '0.01',
|
||||
'Math::Geometry::Voronoi' => '1.3',
|
||||
'Math::PlanePath' => '53',
|
||||
|
@ -29,7 +29,7 @@ our $var = "$FindBin::Bin/var";
|
||||
|
||||
use Encode;
|
||||
use Encode::Locale;
|
||||
use Boost::Geometry::Utils 0.08;
|
||||
use Boost::Geometry::Utils 0.12;
|
||||
use Moo 0.091009;
|
||||
|
||||
use Slic3r::Config;
|
||||
|
@ -8,7 +8,7 @@ our @EXPORT_OK = qw(safety_offset safety_offset_ex offset offset_ex collapse_ex
|
||||
diff_ex diff union_ex intersection_ex xor_ex PFT_EVENODD JT_MITER JT_ROUND
|
||||
JT_SQUARE is_counter_clockwise union_pt offset2 offset2_ex traverse_pt);
|
||||
|
||||
use Math::Clipper 1.21 qw(:cliptypes :polyfilltypes :jointypes is_counter_clockwise area);
|
||||
use Math::Clipper 1.22 qw(:cliptypes :polyfilltypes :jointypes is_counter_clockwise area);
|
||||
use Slic3r::Geometry qw(scale);
|
||||
our $clipper = Math::Clipper->new;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user