--- 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<ldraw::Object>([&](const ldraw::Object* object) + applyToModel<ldraw::Object>(*this->model, [&](const ldraw::Object* object) { glm::mat4 matrix; if (object->numPoints() > 2)