From b9a4f5cf7acf74ba0e884319d588877962835824 Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Wed, 9 Dec 2015 09:41:34 +0100
Subject: [PATCH] [MeL/ME] DuplicateMeshComponents: Do not use getValue().

---
 MeshLib/MeshEditing/DuplicateMeshComponents.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MeshLib/MeshEditing/DuplicateMeshComponents.cpp b/MeshLib/MeshEditing/DuplicateMeshComponents.cpp
index 61f67419dd4..d358c6d6d96 100644
--- a/MeshLib/MeshEditing/DuplicateMeshComponents.cpp
+++ b/MeshLib/MeshEditing/DuplicateMeshComponents.cpp
@@ -67,7 +67,7 @@ MeshLib::Element* copyElement(MeshLib::Element const*const element, const std::v
 	MeshLib::Node** new_nodes = new MeshLib::Node*[element->getNBaseNodes()];
 	for (unsigned i=0; i<element->getNBaseNodes(); ++i)
 		new_nodes[i] = nodes[element->getNode(i)->getID()];
-	return new E(new_nodes, element->getValue());
+	return new E(new_nodes);
 }
 
 } // namespace MeshLib
-- 
GitLab