diff -r b6cbba6e29a1 -r e628fc2e0c72 src/vertexmap.cpp --- a/src/vertexmap.cpp Thu Mar 03 11:42:52 2022 +0200 +++ b/src/vertexmap.cpp Thu Mar 03 21:13:16 2022 +0200 @@ -55,7 +55,7 @@ this->map.clear(); this->vertices.clear(); this->vertexHashes.clear(); - this->model->apply([&](const ldraw::Object* object) + applyToModel(*this->model, [&](const ldraw::Object* object) { glm::mat4 matrix; if (object->numPoints() > 2)