From fba9522bbfd2ef43e70808e651265eefb38fd9db Mon Sep 17 00:00:00 2001
From: Norihiro Watanabe <norihiro.watanabe@ufz.de>
Date: Thu, 3 Nov 2016 14:12:12 +0100
Subject: [PATCH] [App/Utils] forgot to specify the number of base nodes in
 createQuadraticMesh

---
 Applications/Utils/MeshEdit/createQuadraticeMesh.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Applications/Utils/MeshEdit/createQuadraticeMesh.cpp b/Applications/Utils/MeshEdit/createQuadraticeMesh.cpp
index 47486c281f5..7645e52c4d0 100644
--- a/Applications/Utils/MeshEdit/createQuadraticeMesh.cpp
+++ b/Applications/Utils/MeshEdit/createQuadraticeMesh.cpp
@@ -131,7 +131,8 @@ static std::unique_ptr<MeshLib::Mesh> createQuadraticOrderMesh(MeshLib::Mesh con
         new MeshLib::Mesh(org_mesh.getName(), vec_new_nodes, vec_new_eles,
                           org_mesh.getProperties().excludeCopyProperties(
                               std::vector<MeshLib::MeshItemType>(
-                                  1, MeshLib::MeshItemType::Node))));
+                                  1, MeshLib::MeshItemType::Node)),
+                          org_mesh.getNumberOfNodes()));
     return new_mesh;
 }
 
-- 
GitLab