mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Handle non-thread-safe Math::Geometry::Voronoi. #1527
This commit is contained in:
		
							parent
							
								
									ab3e5b5a2c
								
							
						
					
					
						commit
						f733ef5f6b
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -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 = (); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci