mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fixed build when tech ENABLE_SEAMS_USING_BATCHED_MODELS is disabled
This commit is contained in:
		
							parent
							
								
									b22b7c2bf4
								
							
						
					
					
						commit
						2e9b07202a
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -3044,7 +3044,11 @@ void GCodeViewer::render_legend(float& legend_height) | ||||||
| 
 | 
 | ||||||
|     bool imperial_units = wxGetApp().app_config->get("use_inches") == "1"; |     bool imperial_units = wxGetApp().app_config->get("use_inches") == "1"; | ||||||
| 
 | 
 | ||||||
|  | #if ENABLE_SEAMS_USING_BATCHED_MODELS | ||||||
|     auto append_item = [icon_size, percent_bar_size, &imgui, imperial_units](EItemType type, const Color& color, const std::string& label, |     auto append_item = [icon_size, percent_bar_size, &imgui, imperial_units](EItemType type, const Color& color, const std::string& label, | ||||||
|  | #else | ||||||
|  |     auto append_item = [this, icon_size, percent_bar_size, &imgui, imperial_units](EItemType type, const Color& color, const std::string& label, | ||||||
|  | #endif // ENABLE_SEAMS_USING_BATCHED_MODELS
 | ||||||
|         bool visible = true, const std::string& time = "", float percent = 0.0f, float max_percent = 0.0f, const std::array<float, 4>& offsets = { 0.0f, 0.0f, 0.0f, 0.0f }, |         bool visible = true, const std::string& time = "", float percent = 0.0f, float max_percent = 0.0f, const std::array<float, 4>& offsets = { 0.0f, 0.0f, 0.0f, 0.0f }, | ||||||
|         double used_filament_m = 0.0, double used_filament_g = 0.0, |         double used_filament_m = 0.0, double used_filament_g = 0.0, | ||||||
|         std::function<void()> callback = nullptr) { |         std::function<void()> callback = nullptr) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 enricoturri1966
						enricoturri1966