mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-10-03 19:16:31 +08:00
undo whitespace-only change.
This commit is contained in:
parent
b09667ea89
commit
3ab824eeb5
@ -367,9 +367,8 @@ void AMFParserContext::endElement(const char *name)
|
|||||||
stl_allocate(&stl);
|
stl_allocate(&stl);
|
||||||
for (size_t i = 0; i < m_volume_facets.size();) {
|
for (size_t i = 0; i < m_volume_facets.size();) {
|
||||||
stl_facet &facet = stl.facet_start[i/3];
|
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));
|
memcpy(&facet.vertex[v].x, &m_object_vertices[m_volume_facets[i ++] * 3], 3 * sizeof(float));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
stl_get_size(&stl);
|
stl_get_size(&stl);
|
||||||
m_volume->mesh.repair();
|
m_volume->mesh.repair();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user