mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-27 18:51:11 -06:00 
			
		
		
		
	Remove thumbnail simplification because it caused loss of very thin parts. #1327
This commit is contained in:
		
							parent
							
								
									dc766f9f73
								
							
						
					
					
						commit
						1210b89893
					
				
					 1 changed files with 2 additions and 5 deletions
				
			
		|  | @ -1172,11 +1172,8 @@ sub make_thumbnail { | |||
|     		? $mesh->horizontal_projection | ||||
|     		: [ Slic3r::ExPolygon->new($self->convex_hull) ], | ||||
|     ); | ||||
|      | ||||
|     # only simplify expolygons larger than the threshold | ||||
|     @{$thumbnail->expolygons} = grep @$_, | ||||
|         map { ($_->area >= 1) ? $_->simplify(0.5) : $_ } | ||||
|         @{$thumbnail->expolygons}; | ||||
|     # Note: the call to simplify() was removed here because it used Clipper | ||||
|     # simplification which needs integerization. | ||||
|      | ||||
|     $self->thumbnail($thumbnail);  # ignored in multi-threaded environments | ||||
|     $self->free_model_object; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci