mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
This commit is contained in:
		
						commit
						070c9f03fe
					
				
					 3 changed files with 6 additions and 4 deletions
				
			
		|  | @ -10,5 +10,5 @@ if(libigl_FOUND) | |||
|     target_link_libraries(libigl INTERFACE igl::core) | ||||
| else() | ||||
|     message(STATUS "IGL NOT found, using bundled version...") | ||||
|     target_include_directories(libigl INTERFACE SYSTEM ${LIBDIR}/libigl) | ||||
|     target_include_directories(libigl SYSTEM BEFORE INTERFACE ${LIBDIR}/libigl) | ||||
| endif() | ||||
|  |  | |||
|  | @ -1564,8 +1564,10 @@ void ModelVolume::center_geometry_after_creation() | |||
|     Vec3d shift = this->mesh().bounding_box().center(); | ||||
|     if (!shift.isApprox(Vec3d::Zero())) | ||||
|     { | ||||
|         m_mesh->translate(-(float)shift(0), -(float)shift(1), -(float)shift(2)); | ||||
|         m_convex_hull->translate(-(float)shift(0), -(float)shift(1), -(float)shift(2)); | ||||
|     	if (m_mesh) | ||||
|         	m_mesh->translate(-(float)shift(0), -(float)shift(1), -(float)shift(2)); | ||||
|         if (m_convex_hull) | ||||
|         	m_convex_hull->translate(-(float)shift(0), -(float)shift(1), -(float)shift(2)); | ||||
|         translate(shift); | ||||
|     } | ||||
| } | ||||
|  |  | |||
|  | @ -460,7 +460,7 @@ void ObjectList::update_extruder_in_config(const wxDataViewItem& item) | |||
|     if (!m_config || selection.empty()) | ||||
|         return; | ||||
| 
 | ||||
|     const int extruder = selection.size() > 1 ? 0 : atoi(selection.c_str()); | ||||
|     const int extruder = /*selection.size() > 1 ? 0 : */atoi(selection.c_str()); | ||||
|     m_config->set_key_value("extruder", new ConfigOptionInt(extruder)); | ||||
| 
 | ||||
|     // update scene
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri