summaryrefslogtreecommitdiff
path: root/assetFactory/faceController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'assetFactory/faceController.cpp')
-rw-r--r--assetFactory/faceController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/assetFactory/faceController.cpp b/assetFactory/faceController.cpp
index b6d3d34..1ec1467 100644
--- a/assetFactory/faceController.cpp
+++ b/assetFactory/faceController.cpp
@@ -44,7 +44,7 @@ FaceController::apply(ModelFactoryMesh & mesh, const StyleStack & parents, const
// create new vertices
std::vector<OpenMesh::VertexHandle> vertices;
std::transform(points.begin(), points.end(), std::back_inserter(vertices), [&mesh](auto && p) {
- return mesh.add_vertex({p.x, p.y, p.z});
+ return mesh.add_vertex(p);
});
// create new faces
const auto ofrange = materializeRange(mesh.ff_range(cf.second));