mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Added opencsg parameter console
This commit is contained in:
		
							parent
							
								
									66759e10e3
								
							
						
					
					
						commit
						b1186e339d
					
				
					 3 changed files with 70 additions and 13 deletions
				
			
		|  | @ -454,7 +454,14 @@ void Display::on_moved_to(long x, long y) | |||
|     m_mouse_pos = {x, y}; | ||||
| } | ||||
| 
 | ||||
| void CSGSettings::set_csg_algo(OpenCSG::Algorithm alg) { m_csgalg = alg; } | ||||
| void Display::apply_csgsettings(const CSGSettings &settings) | ||||
| { | ||||
|     using namespace OpenCSG; | ||||
|     m_csgsettings = settings; | ||||
|     setOption(AlgorithmSetting, m_csgsettings.get_algo()); | ||||
|     setOption(DepthComplexitySetting, m_csgsettings.get_depth_algo()); | ||||
|     setOption(DepthBoundsOptimization, m_csgsettings.get_optimization()); | ||||
| } | ||||
| 
 | ||||
| void Display::on_scene_updated() | ||||
| { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros