mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Splitting unsplittable objects now results in a no-op
This commit is contained in:
		
							parent
							
								
									39f0c2f822
								
							
						
					
					
						commit
						9398a1f6c2
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -312,7 +312,9 @@ sub split_object { | |||
|     my $mesh = $current_object->mesh->clone; | ||||
|     $mesh->scale($Slic3r::scaling_factor); | ||||
|      | ||||
|     foreach my $mesh ($mesh->split_mesh) { | ||||
|     my @new_meshes = $mesh->split_mesh; | ||||
|     return if @new_meshes == 1; | ||||
|     foreach my $mesh (@new_meshes) { | ||||
|         my $object = $self->{print}->add_object_from_mesh($mesh); | ||||
|         $object->input_file($current_object->input_file); | ||||
|         $self->object_loaded($#{$self->{print}->objects}, no_arrange => 1); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci