diff --git a/code/D3MFImporter.cpp b/code/D3MFImporter.cpp index 399bfdd36..347263145 100644 --- a/code/D3MFImporter.cpp +++ b/code/D3MFImporter.cpp @@ -229,9 +229,10 @@ private: aiVector3D ReadVertex() { aiVector3D vertex; + vertex.x = ai_strtof(xmlReader->getAttributeValue(D3MF::XmlTag::x.c_str()), nullptr); vertex.y = ai_strtof(xmlReader->getAttributeValue(D3MF::XmlTag::y.c_str()), nullptr); - vertex.z = ai_strtof>(xmlReader->getAttributeValue(D3MF::XmlTag::z.c_str()), nullptr); + vertex.z = ai_strtof(xmlReader->getAttributeValue(D3MF::XmlTag::z.c_str()), nullptr); return vertex; }