diff --git a/code/D3MFExporter.cpp b/code/D3MFExporter.cpp index 0320dac21..162d20764 100644 --- a/code/D3MFExporter.cpp +++ b/code/D3MFExporter.cpp @@ -240,13 +240,14 @@ void D3MFExporter::writeMesh( aiMesh *mesh ) { writeVertex( mesh->mVertices[ i ] ); } mModelOutput << "" << std::endl; - mModelOutput << "" << std::endl; writeFaces( mesh ); + + mModelOutput << "" << std::endl; } void D3MFExporter::writeVertex( const aiVector3D &pos ) { - mModelOutput << "<" << XmlTag::vertex << " x=\"" << pos.x << "\" y=\"" << pos.y << "\" z=\"" << pos.z << "\">"; + mModelOutput << "<" << XmlTag::vertex << " x=\"" << pos.x << "\" y=\"" << pos.y << "\" z=\"" << pos.z << "\" />"; mModelOutput << std::endl; } diff --git a/code/D3MFImporter.cpp b/code/D3MFImporter.cpp index fec36cebe..372416dbd 100644 --- a/code/D3MFImporter.cpp +++ b/code/D3MFImporter.cpp @@ -72,7 +72,7 @@ public: } ~XmlSerializer() { - + // empty } void ImportXml(aiScene* scene) {