mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Bugfix: models located very far from XYZ origin were incorrectly placed on the print area
This commit is contained in:
		
							parent
							
								
									40d06a6e11
								
							
						
					
					
						commit
						2e013e72e8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -297,7 +297,7 @@ sub duplicate { | ||||||
| 
 | 
 | ||||||
| sub bounding_box { | sub bounding_box { | ||||||
|     my $self = shift; |     my $self = shift; | ||||||
|     my @extents = (map [99999999999, -99999999999], X,Y,Z); |     my @extents = (map [9999999999999999999999, -9999999999999999999999], X,Y,Z); | ||||||
|     foreach my $facet (@{$self->facets}) { |     foreach my $facet (@{$self->facets}) { | ||||||
|         my ($normal, @vertices) = @$facet; |         my ($normal, @vertices) = @$facet; | ||||||
|         foreach my $vertex (@vertices) { |         foreach my $vertex (@vertices) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci