mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Fix regression in cut
This commit is contained in:
		
							parent
							
								
									182c5eb809
								
							
						
					
					
						commit
						87383250de
					
				
					 3 changed files with 11 additions and 12 deletions
				
			
		|  | @ -125,7 +125,8 @@ sub new { | |||
| sub perform_cut { | ||||
|     my ($self) = @_; | ||||
|      | ||||
|     my ($upper_object, $lower_object) = $self->{model_object}->cut($self->{cut_options}{z}); | ||||
|     my ($new_model, $upper_object, $lower_object) = $self->{model_object}->cut($self->{cut_options}{z}); | ||||
|     $self->{new_model} = $new_model; | ||||
|     $self->{new_model_objects} = []; | ||||
|     if ($self->{cut_options}{keep_upper} && defined $upper_object) { | ||||
|         push @{$self->{new_model_objects}}, $upper_object; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci