mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 20:51:12 -06:00 
			
		
		
		
	Revert stupid change that broke plater and provide the correct fix for --info
This commit is contained in:
		
							parent
							
								
									28a39f0275
								
							
						
					
					
						commit
						79a2bab261
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -386,7 +386,7 @@ sub mesh { | |||
| 
 | ||||
| sub update_bounding_box { | ||||
|     my ($self) = @_; | ||||
|     $self->_bounding_box($self->raw_mesh->bounding_box); | ||||
|     $self->_bounding_box($self->mesh->bounding_box); | ||||
| } | ||||
| 
 | ||||
| # this returns the bounding box of the *transformed* instances | ||||
|  | @ -484,7 +484,7 @@ sub print_info { | |||
|     my $self = shift; | ||||
|      | ||||
|     printf "Info about %s:\n", basename($self->input_file); | ||||
|     printf "  size:              x=%.3f y=%.3f z=%.3f\n", @{$self->bounding_box->size}; | ||||
|     printf "  size:              x=%.3f y=%.3f z=%.3f\n", @{$self->raw_mesh->bounding_box->size}; | ||||
|     if (my $stats = $self->mesh_stats) { | ||||
|         printf "  number of facets:  %d\n", $stats->{number_of_facets}; | ||||
|         printf "  number of shells:  %d\n", $stats->{number_of_parts}; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci