mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Only compile debug output functions for SupportGenerator if SLIC3R_DEBUG is enabled.
This commit is contained in:
		
							parent
							
								
									87964eb57a
								
							
						
					
					
						commit
						c632d08550
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -35,7 +35,7 @@ namespace Slic3r { | |||
| //#define SUPPORT_SURFACES_OFFSET_PARAMETERS ClipperLib::jtMiter, 1.5
 | ||||
| #define SUPPORT_SURFACES_OFFSET_PARAMETERS ClipperLib::jtSquare, 0. | ||||
| 
 | ||||
| 
 | ||||
| #ifdef SLIC3R_DEBUG | ||||
| const char* support_surface_type_to_color_name(const PrintObjectSupportMaterial::SupporLayerType surface_type) | ||||
| { | ||||
|     switch (surface_type) { | ||||
|  | @ -101,6 +101,7 @@ void export_print_z_polygons_to_svg(const char *path, PrintObjectSupportMaterial | |||
|     export_support_surface_type_legend_to_svg(svg, legend_pos); | ||||
|     svg.Close(); | ||||
| } | ||||
| #endif /* SLIC3R_DEBUG */ | ||||
| 
 | ||||
| PrintObjectSupportMaterial::PrintObjectSupportMaterial(const PrintObject *object, const SlicingParameters &slicing_params) : | ||||
|     m_object                (object), | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv