Fixed warning
This commit is contained in:
parent
270c076e77
commit
86ddac7b1e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue