summaryrefslogtreecommitdiff
path: root/assetFactory/plane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'assetFactory/plane.cpp')
-rw-r--r--assetFactory/plane.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/assetFactory/plane.cpp b/assetFactory/plane.cpp
index 37c8194..563c4e9 100644
--- a/assetFactory/plane.cpp
+++ b/assetFactory/plane.cpp
@@ -11,5 +11,5 @@ Plane::createMesh(ModelFactoryMesh & mesh, const Mutation::Matrix & mutation) co
{n, y, z},
}};
- return {{"plane", mesh.add_face(addMutatedToMesh(mesh, VERTICES, mutation))}};
+ return {mesh.add_namedFace("plane", addMutatedToMesh(mesh, VERTICES, mutation))};
}