fix naming readout + export.

pull/1832/head
Kim Kulling 2018-03-12 22:28:00 +01:00
parent c8ae0bbb3d
commit c7ac32f891
1 changed files with 2 additions and 2 deletions

View File

@ -133,11 +133,11 @@ private:
const char *attrib( nullptr );
std::string name, type;
attrib = xmlReader->getAttributeValue( D3MF::XmlTag::name.c_str() );
attrib = xmlReader->getAttributeValue( D3MF::XmlTag::id.c_str() );
if ( nullptr != attrib ) {
name = attrib;
}
attrib = xmlReader->getAttributeValue( D3MF::XmlTag::name.c_str() );
attrib = xmlReader->getAttributeValue( D3MF::XmlTag::type.c_str() );
if ( nullptr != attrib ) {
type = attrib;
}