mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	ENABLE_GCODE_VIEWER set as default in fff_print test and PrusaSlicer.cpp
This commit is contained in:
		
							parent
							
								
									8633e8f25c
								
							
						
					
					
						commit
						8c8ad70c58
					
				
					 3 changed files with 2 additions and 25 deletions
				
			
		|  | @ -50,12 +50,8 @@ SCENARIO("Model construction", "[Model]") { | |||
| 				print.apply(model, config); | ||||
| 				print.process(); | ||||
| 				boost::filesystem::path temp = boost::filesystem::unique_path(); | ||||
| #if ENABLE_GCODE_VIEWER | ||||
| 				print.export_gcode(temp.string(), nullptr, nullptr); | ||||
| #else | ||||
| 				print.export_gcode(temp.string(), nullptr); | ||||
| #endif // ENABLE_GCODE_VIEWER
 | ||||
| 				REQUIRE(boost::filesystem::exists(temp)); | ||||
|                 print.export_gcode(temp.string(), nullptr, nullptr); | ||||
|                 REQUIRE(boost::filesystem::exists(temp)); | ||||
| 				REQUIRE(boost::filesystem::is_regular_file(temp)); | ||||
| 				REQUIRE(boost::filesystem::file_size(temp) > 0); | ||||
| 				boost::nowide::remove(temp.string().c_str()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 enricoturri1966
						enricoturri1966