From 3ab824eeb54dbc4cd592f8793ecc60960829360a Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Mon, 15 Mar 2021 09:39:33 -0500 Subject: [PATCH] undo whitespace-only change. --- xs/src/libslic3r/IO/AMF.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xs/src/libslic3r/IO/AMF.cpp b/xs/src/libslic3r/IO/AMF.cpp index a7c3cca7d..69280a5a4 100644 --- a/xs/src/libslic3r/IO/AMF.cpp +++ b/xs/src/libslic3r/IO/AMF.cpp @@ -367,9 +367,8 @@ void AMFParserContext::endElement(const char *name) stl_allocate(&stl); for (size_t i = 0; i < m_volume_facets.size();) { stl_facet &facet = stl.facet_start[i/3]; - for (unsigned int v = 0; v < 3; ++ v) { + for (unsigned int v = 0; v < 3; ++ v) memcpy(&facet.vertex[v].x, &m_object_vertices[m_volume_facets[i ++] * 3], 3 * sizeof(float)); - } } stl_get_size(&stl); m_volume->mesh.repair();