Fixed warning

This commit is contained in:
enricoturri1966 2021-08-31 09:17:52 +02:00
parent 270c076e77
commit 86ddac7b1e

View file

@ -2665,7 +2665,7 @@ void GCodeViewer::render_toolpaths()
};
#if ENABLE_SEAMS_USING_MODELS
auto render_as_instanced_model = [this]
auto render_as_instanced_model = []
(TBuffer& buffer, GLShaderProgram & shader) {
for (auto& range : buffer.model.instances.render_ranges.ranges) {
if (range.vbo == 0 && range.count > 0) {