src/vertexmap.cpp

changeset 151
e628fc2e0c72
parent 120
8c9fff699241
child 200
ca23936b455b
--- 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)

mercurial