mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fix compilation and test suite
This commit is contained in:
		
							parent
							
								
									0591eecab7
								
							
						
					
					
						commit
						916a0a0e58
					
				
					 7 changed files with 59 additions and 21 deletions
				
			
		| 
						 | 
				
			
			@ -187,7 +187,7 @@ sub slice {
 | 
			
		|||
        $self->model_object->instances->[0]->transform_mesh($mesh, 1);
 | 
			
		||||
        
 | 
			
		||||
        # align mesh to Z = 0 and apply XY shift
 | 
			
		||||
        $mesh->translate((map unscale(-$_), @{$self->_copies_shift}), -$mesh->bounding_box->z_min);
 | 
			
		||||
        $mesh->translate((map unscale(-$_), @{$self->_copies_shift}), -$self->model_object->bounding_box->z_min);
 | 
			
		||||
        
 | 
			
		||||
        {
 | 
			
		||||
            my $loops = $mesh->slice([ map $_->slice_z, @{$self->layers} ]);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue