mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Handle non-thread-safe Math::Geometry::Voronoi. #1527
This commit is contained in:
@@ -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 = ();
|
||||
|
||||
Reference in New Issue
Block a user