Skip to content
Snippets Groups Projects
Commit b9a4f5cf authored by Tom Fischer's avatar Tom Fischer
Browse files

[MeL/ME] DuplicateMeshComponents: Do not use getValue().

parent 4c739789
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment