浏览代码

fix naming readout + export.

Kim Kulling 7 年之前
父节点
当前提交
c7ac32f891
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      code/D3MFImporter.cpp

+ 2 - 2
code/D3MFImporter.cpp

@@ -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;
         }