mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fixed duplicate instances after "split object to objects"
This commit is contained in:
		
							parent
							
								
									4b5657b16b
								
							
						
					
					
						commit
						706da612b6
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		|  | @ -1476,13 +1476,7 @@ void Plater::priv::split_object() | |||
|     { | ||||
|         unsigned int counter = 1; | ||||
|         for (ModelObject* m : new_objects) | ||||
|         { | ||||
|             m->name = current_model_object->name + "_" + std::to_string(counter++); | ||||
|             for (ModelInstance* i : current_model_object->instances) | ||||
|             { | ||||
|                 m->add_instance(*i); | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         remove(obj_idx); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv