From 45eb13719ec3f48eff4d7d0f2738c8604b3e0c23 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 17 Jan 2017 22:05:45 +0100 Subject: [PATCH] fixes https://github.com/assimp/assimp/issues/1141: fix typo. --- code/D3MFImporter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }