1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-20 09:34:26 +00:00

Handle non-thread-safe Math::Geometry::Voronoi. #1527

This commit is contained in:
Alessandro Ranellucci
2013-11-15 03:07:01 +01:00
parent ab3e5b5a2c
commit f733ef5f6b
+4
View File
@@ -170,9 +170,13 @@ sub _medial_axis_clip {
return @result;
}
my $voronoi_lock :shared;
sub _medial_axis_voronoi {
my ($self, $width) = @_;
lock($voronoi_lock);
my $voronoi;
{
my @points = ();