Fixup of previous commit

This commit is contained in:
Lukas Matena 2020-04-17 14:17:11 +02:00
parent 9921945cbf
commit be9dcf0c77

View File

@ -452,7 +452,7 @@ void GLGizmoFdmSupports::update_vertex_buffers(const ModelVolume* mv,
iva.push_triangle(3*triangle_cnt, 3*triangle_cnt+1, 3*triangle_cnt+2); iva.push_triangle(3*triangle_cnt, 3*triangle_cnt+1, 3*triangle_cnt+2);
++triangle_cnt; ++triangle_cnt;
} }
if (iva.has_VBOs()) if (! m_selected_facets[mesh_id].empty())
iva.finalize_geometry(true); iva.finalize_geometry(true);
} }
} }