mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Fix of Perl unit tests.
This commit is contained in:
		
							parent
							
								
									540a94b36d
								
							
						
					
					
						commit
						806e59facc
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -407,9 +407,12 @@ void Print::add_model_object(ModelObject* model_object, int idx) | |||
|     } else | ||||
|         m_objects.emplace_back(object); | ||||
|     // Invalidate all print steps.
 | ||||
|     //FIXME lock mutex!
 | ||||
|     this->invalidate_all_steps(); | ||||
| 
 | ||||
|     // Set the transformation matrix without translation from the first instance.
 | ||||
|     if (! model_object->instances.empty()) | ||||
|         object->set_trafo(model_object->instances.front()->world_matrix(true)); | ||||
| 
 | ||||
|     size_t volume_id = 0; | ||||
|     for (const ModelVolume *volume : model_object->volumes) { | ||||
|         if (! volume->is_model_part() && ! volume->is_modifier()) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv