mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Fixed build when tech ENABLE_GCODE_VIEWER_STATISTICS is enabled
This commit is contained in:
		
							parent
							
								
									b69d03ad4a
								
							
						
					
					
						commit
						cc480afe9b
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -2665,7 +2665,11 @@ void GCodeViewer::render_toolpaths() | |||
|     }; | ||||
| 
 | ||||
| #if ENABLE_SEAMS_USING_MODELS | ||||
| #if ENABLE_GCODE_VIEWER_STATISTICS | ||||
|     auto render_as_instanced_model = [this] | ||||
| #else | ||||
|     auto render_as_instanced_model = [] | ||||
| #endif // ENABLE_GCODE_VIEWER_STATISTICS
 | ||||
|         (TBuffer& buffer, GLShaderProgram & shader) { | ||||
|         for (auto& range : buffer.model.instances.render_ranges.ranges) { | ||||
|             if (range.vbo == 0 && range.count > 0) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 enricoturri1966
						enricoturri1966