Fixed build of tech ENABLE_SEAMS_USING_MODELS when tech ENABLE_GCODE_VIEWER_STATISTICS is disabled
This commit is contained in:
parent
55bac68603
commit
1b03eec234
1 changed files with 0 additions and 4 deletions
|
@ -2543,11 +2543,7 @@ 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 (const TBuffer::Model::Instance& inst : buffer.model.instances) {
|
||||
bool top_layer_only = get_app_config()->get("seq_top_layer_only") == "1";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue