mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	FIX: crash when loading stl file for modifier
Change-Id: If358e1a8bca908c2c4dda4a95510163867f56eb4
This commit is contained in:
		
							parent
							
								
									6968eb5d82
								
							
						
					
					
						commit
						7dda18fed8
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1990,6 +1990,7 @@ void ObjectList::load_modifier(const wxArrayString& input_files, ModelObject& mo | |||
|             } | ||||
|         } | ||||
| 
 | ||||
|         model.add_default_instances(); | ||||
|         TriangleMesh mesh = model.mesh(); | ||||
|         // Mesh will be centered when loading.
 | ||||
|         ModelVolume* new_volume = model_object.add_volume(std::move(mesh), type); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 zhimin.zeng
						zhimin.zeng